The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: .fig not saved properly using "saveas"
Replies: 4   Last Post: Apr 10, 2013 1:49 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 2
Registered: 4/10/13
Re: .fig not saved properly using "saveas"
Posted: Apr 5, 2013 6:08 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> I may be wrong, but I believe that is the normal and intended behavior of the SAVEAS command.

Take the following code as an example:

x = 1:10;
y = x.^2;

After running this in the terminal and saving the resulting plot as a ".fig" file, the ".fig" file can be opened and its data points viewed using the Data Cursor. The plots's axes are also setup correctly. Furthermore, the plot can be resized dynamically.

I would like to be able to save a figure the same way using my GUI. I thought that "saveas" permitted such functionality. However, when I save the plot created in the GUI and open the figure in MATLAB, the .fig has none of the functionality present in the example above.

I've attempted to use "hgsave" with no better luck.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.