Legend Error in Matlab 2014a
1 次查看(过去 30 天)
显示 更早的评论
I am using Matlab 2014a on my school's PC. When I run the following code
figure subplot(2,1,1); plot(1:N, E1,'--', 1:N, E2,':'), title('Errors'), xlabel('\rightarrow Node Number'),ylabel('\rightarrow Error'), grid on, legend('Error in First Case', 'Error in Second Case') subplot(2,1,2) plot(1:N, E1P,'--', 1:N, E2P,'c*'), title('Percentage Errors'), xlabel('\rightarrow Node Number'),ylabel('\rightarrow Percentage Error'), grid on, legend('Percentage Error in First Case', 'Percentage Error in Second Case')
![](/matlabcentral/answers/uploaded_files/110379/untitled.jpg)
Is this a known issue? or am I making a mistake here?
Thank you.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!