From: Shota on 29 Jul 2010 14:42 I'm trying to write a script that saves a figure in png format. My figures are best viewed when stretched side-way, so I want the saved figures to be of the size 8 inches (height) and 16 inches (width). How do I do that with the print function ? If you could give me an example, that would be great.
From: Ross W on 31 Jul 2010 20:54 "Shota " <shotaemail(a)gmail.com> wrote in message <i2si1s$259$1(a)fred.mathworks.com>... > I'm trying to write a script that saves a figure in png format. > > My figures are best viewed when stretched side-way, so I want the saved figures to be of the size 8 inches (height) and 16 inches (width). > > How do I do that with the print function ? If you could give me an example, that would be great. Hi This might get you started: >> figure('paperunits','in','paperposition',[.5 .5 16 8]) >> plot(1:10) >> print -dpng test Ross
|
Pages: 1 Prev: Ignoring certain rows Next: Displaying Only Last Positive Value |