help-octave
[Top][All Lists]
Advanced

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

Re: saving plotted graph to a file.


From: Ben Abbott
Subject: Re: saving plotted graph to a file.
Date: Wed, 08 May 2013 17:00:53 +0800

On May 8, 2013, at 4:53 PM, primi wrote:

> can any1 give me an example??
> 
> figure(1)
> plot(dy);
> 
> how do i save the graph of 'dy' using print fn to the folder 'C:\Documents
> and Settings\foldr_name'..?
> can i save it as .jpg or .bmp

Spaces in the path may be a problem for Windows.

        figure (1)
        clf ()
        plot (rand (3))
        print ("test.jpg")

You can try saving to a patch but, it may not work.

        printf ("'C:\Document and Settings\foldr_name\test.jpg")

Ben



reply via email to

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