Borrar filtros
Borrar filtros

Plotting with plotm on maps in different windows that do not have the focus

2 visualizaciones (últimos 30 días)
The plotm function plots its map data on the current map axes. However, we are updating multiple maps through events and want the plot to update on its proper figure and map axes. Does any one know how to set the target of plotm without changing the window focus of the user interface? WE have the handles to the map axes in all of the figures, but there seems no way to change it for plotm. We have built a GUI in one figure that generates data and an event to be plotted in other figures that contain the maps.

Respuestas (1)

Keith Barker
Keith Barker el 30 de Sept. de 2012
The link did not provide not address my issue, but we did find a solution by making turning off the handle visibility of the other figures, and setting the current figure to the figure of the map targeted for plotm using the command set(0,'CurrentFigure',targetFigureHandle). Once the plotm finishes, the current figure is reset to the state prior to the plotm execution using the same set method.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by