How can I reformat the axes of a graph?
1 次查看(过去 30 天)
显示 更早的评论
As part of a university report, I am using MATLAB to format the graphs of the experimental data. I've done this by importing the data to workspace and plotting a scatter graph. I would like to reformat the x-axis of the graph to be as shown in the attachment, so that the axis is in the order of powers of 10s. How can this be achieved?
0 个评论
回答(2 个)
Star Strider
2020-5-6
To plot the x-axis in powers of 10, use the semilogx function. (There are other options as well to produce teh same effect. This is the easiest way to do it.)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Bar Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!