Problem using copyobj
Mostrar comentarios más antiguos
I have created a GUI with 2 axes. The code I generated plots data onto both axes however what I want to do is export these 2 axes onto a new figure window. Here is the following code I am using:
h1 = handles.inplane_graph;
h2 = handles.outofplane_graph;
copyobj(h1,figure(1));
copyobj(h2,figure(2));
Both graphs are copied perfectly into new figure windows, however the position of the graphs are not centered and the graphs themselves are small (the same size as they appear in the GUI). I want the graphs to be standard size and centered. Can someone please help?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Graphics Object Programming en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!