I want to plot a series of x and y coordinates with axes like those that are produced by wblplot. How can I achieve that? I can't use wblplot.
我想绘制一系列x和y坐标,其轴与wblplot生成的轴一样。我怎样才能做到这一点?我不能使用wblplot。
http://www.mathworks.se/help/stats/wblplot.html
http://www.mathworks.se/help/stats/wblplot.html
1 个解决方案
#1
2
Use semilogx to scale X axis logarithmically or for usual plot change its property
使用semilogx以对数方式缩放X轴或通常用于更改其属性
set(gca, 'XScale', 'log');
Change ticks and grid line spacing
更改刻度线和网格线间距
set(gca, 'YTick', vectorOfYvalues);
set(gca, 'YGrid', vectorOfYvalues);
More on axes properties in documentation.
更多关于文档中的轴属性。
#1
2
Use semilogx to scale X axis logarithmically or for usual plot change its property
使用semilogx以对数方式缩放X轴或通常用于更改其属性
set(gca, 'XScale', 'log');
Change ticks and grid line spacing
更改刻度线和网格线间距
set(gca, 'YTick', vectorOfYvalues);
set(gca, 'YGrid', vectorOfYvalues);
More on axes properties in documentation.
更多关于文档中的轴属性。