help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-S option for print


From: WILKINSON M.
Subject: -S option for print
Date: Tue, 23 Aug 2011 10:34:50 +0100

Hello all

 

I’m trying to use the –S option as part of the print command to specify the size of a saved plot. The documentation on the option is as follows:

 

-Sxsize,ysize

Plot size in pixels for PNG and SVG. If using the command form of the print function, you must quote the xsize,ysize option. For example, by writing "-S640,480".’

 

 

The print command I am trying to execute from within a .m function file is as follows:

 

print(output_file) –dsvg –color –landscape –S1280,800

 

This does produce a .svg of the plot, however the –S option appears to have no effect. The use of ‘,’ appears to split the option, with ans = 800 printed at the prompt. Encasing the option in “” appears to make it un-interpretable.

 

How exactly should I construct this option to size my plots?

 

version = 3.2.4

 

Thanks

Max

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]