Faq how do I make PlotGUI send plot to a new figure and not overwrite current figure: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Lyle
No edit summary
imported>Lyle
No edit summary
 
Line 5: Line 5:
===Possible Solutions:===
===Possible Solutions:===


PlotGUI acts much like the standard Matlab '''PLOT''' command in that the plotgui command sends the plot to the current figure (whether or not it was previously a PlotGUI controlled figure). This will overwrite any plot already on that figure.  
PlotGUI acts much like the standard Matlab <code>plot</code> command in that the <code>plotgui</code> command sends the plot to the current figure (whether or not it was previously a PlotGUI controlled figure). This will overwrite any plot already on that figure.  


To send a PlotGUI plot to a new figure, include the keyword 'new' on the command line:  
To send a PlotGUI plot to a new figure, include the keyword <code>new</code> on the command line:  
  >> plotgui(mydata,'new');
  >> plotgui(mydata,'new');
If you already have a PlotGUI figure and want to create another view of the same data, select the "View / Duplicate Figure" menu option on the plotgui controls. Likewise, a static (standard Matlab) plot can be made of the current view by selecting "View / Spawn Figure".  
If you already have a PlotGUI figure and want to create another view of the same data, select the "View / Duplicate Figure" menu option on the plotgui controls. Likewise, a static (standard Matlab) plot can be made of the current view by selecting "View / Spawn Figure".  

Latest revision as of 09:33, 9 January 2019

Issue:

How do I make PlotGUI send its plot to a new figure and not overwrite the current figure?

Possible Solutions:

PlotGUI acts much like the standard Matlab plot command in that the plotgui command sends the plot to the current figure (whether or not it was previously a PlotGUI controlled figure). This will overwrite any plot already on that figure.

To send a PlotGUI plot to a new figure, include the keyword new on the command line:

>> plotgui(mydata,'new');

If you already have a PlotGUI figure and want to create another view of the same data, select the "View / Duplicate Figure" menu option on the plotgui controls. Likewise, a static (standard Matlab) plot can be made of the current view by selecting "View / Spawn Figure".


Still having problems? Please contact our helpdesk at helpdesk@eigenvector.com