How do I create non uniform spacing between axis ticks like in figure ?
28 次查看(过去 30 天)
显示 更早的评论
I'm trying to create a ticks distribution like the one in figure
...I really can't figure how to do it. Do I have to define the x-variable in a particular way or is it just an axis and ticks thing ?
采纳的回答
Amy
2017-12-18
编辑:Amy
2020-5-14
Hi Francesco, take a look at this documentation page if you haven't already: Specify Axis Tick Values and Labels
There is also an example of setting nonuniform x-axis tick locations on the documentation page for 'xticks'.
adding to this (5/14/20): It looks like you also wanted to use a logarthmic scale for the x-axis and semilogx was already suggested.
2 个评论
Amy
2020-5-14
Thanks LR, I edited my answer to include the links to documentation for setting a log scale and limits on the x-axis, which had already been suggested in the comments.
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!