Set plot size

Ben Abbott bpabbott at mac.com
Wed Sep 10 12:19:54 CDT 2008


On Wednesday, September 10, 2008, at 12:43PM, "DimitryASuplatov" <genesup at gmail.com> wrote:
>Hello,
>could you help me to set the scale of my plot.
>For ex. I want to plot vectors X vs Y:
>plot(X,Y,...)
>How to set the the scale of x and y axes?
>
>Thank you!

You can either use

axis ([xmin xmax ymin ymax])

or

xlim([xmin xmax])
ylim([ymin ymax])

Ben


More information about the Help-octave mailing list