SM411
SM411

Reputation: 3

Axes like wblplot when plotting X and Y in Matlab

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.

http://www.mathworks.se/help/stats/wblplot.html

Upvotes: 0

Views: 433

Answers (1)

divanov
divanov

Reputation: 6339

Use semilogx to scale X axis logarithmically or for usual plot change its property

set(gca, 'XScale', 'log');

Change ticks and grid line spacing

set(gca, 'YTick', vectorOfYvalues);
set(gca, 'YGrid', vectorOfYvalues);

More on axes properties in documentation.

Upvotes: 2

Related Questions