Thread Subject: how to save a graph

Subject: how to save a graph

From: Andres Klever

Date: 18 Sep, 2009 03:30:05

Message: 1 of 4

hi, i want to save a lot of graphs that i obtain with the function scatter, but automatic,i mean, i dont want to be saving each graph one by one.
so is there any function that works fine with this???, and how do i introduce the path and the name for each graph????

thanks a lot!

Subject: how to save a graph

From: Sebastiaan

Date: 18 Sep, 2009 07:53:04

Message: 2 of 4

"Andres Klever" <andisoto@gmail.com> wrote in message <h8uurt$4ro$1@fred.mathworks.com>...
> hi, i want to save a lot of graphs that i obtain with the function scatter, but automatic,i mean, i dont want to be saving each graph one by one.
> so is there any function that works fine with this???, and how do i introduce the path and the name for each graph????
>
> thanks a lot!

Have a look at the 'saveas' or 'hgsave' commands.

Subject: how to save a graph

From: Wolfgang Schwanghart

Date: 18 Sep, 2009 08:39:03

Message: 3 of 4

Hi Andreas,

this file on the file exchange makes it really easy. I use it a lot...
http://www.mathworks.com/matlabcentral/fileexchange/22093

Best regards,
Wolfgang



"Andres Klever" <andisoto@gmail.com> wrote in message <h8uurt$4ro$1@fred.mathworks.com>...
> hi, i want to save a lot of graphs that i obtain with the function scatter, but automatic,i mean, i dont want to be saving each graph one by one.
> so is there any function that works fine with this???, and how do i introduce the path and the name for each graph????
>
> thanks a lot!

Subject: how to save a graph

From: Sebastiaan

Date: 18 Sep, 2009 09:45:23

Message: 4 of 4

"Wolfgang Schwanghart" <schwanghartremove.this@googlemail.com> wrote in message <h8vgv7$nbo$1@fred.mathworks.com>...
> Hi Andreas,
>
> this file on the file exchange makes it really easy. I use it a lot...
> http://www.mathworks.com/matlabcentral/fileexchange/22093
>

The preferred method depends on what you want to do with it afterwards. If you want to reopen it in Matlab later (e.g. for editing), you have to save it as a FIG file with saveas or hgsave.

Otherwise, using a package like print2im (above) or export_fig [1] is preferable above the Matlab built-in print command.

[1] export_fig: http://www.mathworks.com/matlabcentral/fileexchange/23629

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
scatter Sprinceana 18 Sep, 2009 00:43:21
reference Sprinceana 18 Sep, 2009 00:43:16
imsave Sprinceana 18 Sep, 2009 00:43:16
rssFeed for this Thread

Contact us at files@mathworks.com