How do I plot even spaced but uneven value increment graphs?
3 次查看(过去 30 天)
显示 更早的评论
Hello, I am trying to plot a set of data with specific axis values in order to show to the results clearly.
Using xtick and ytick command didnt give the desired effect, the values I specified weren't evenly spaced.
What I need is similar to the picture below, with the following data.
Re = [10 50 100 200 500]
Rmin =[0.009 0.01 0.014 0.023 0.029]
Please help!!
![Annotation 2019-06-20 155918.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/225711/Annotation%202019-06-20%20155918.png)
3 个评论
Adam Danz
2019-6-20
Great! I'll copy the comment to the answer section so the question is marked as resolved.
采纳的回答
Adam Danz
2019-6-20
To plot with log axes
Re = [10 50 100 200 500];
Rmin =[0.009 0.01 0.014 0.023 0.029];
plot(Re,Rmin);
set(gca, 'XScale', 'log', 'YScale','log')
% or
loglog(Re,Rmin)
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Identification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!