'hold on' with mapshow and roseplot

Hello,
I would like to change between mapshow and roseplot. My code is
handle_mapshow = mapshow ( X,Y)
handle_gca_mapshow = get (gca)
axes ( 'position' , [ 1 2 3 4 ] )
handle_rose = rose(angles, bins )
NOW: I would like to go back to the mapshow axes. I tried things like (I think the following two were my best shots ...)
hold on handle_gca_mapshow
hold on (handle_gca_mapshow)
But it does not work. What do I do wrong? Would be very nice to hear from you.
Cheers, Claudia

Antworten (1)

Walter Roberson
Walter Roberson am 29 Nov. 2013

0 Stimmen

axes(handle_gca_mapshow);

1 Kommentar

Claudia
Claudia am 29 Nov. 2013
Bearbeitet: Claudia am 29 Nov. 2013
Hi Walter
Thank you for your answer. I had tried your suggestion, too, but always got the message
axes(handle_gca_mapshow)
Error using axes
Attempt to modify a property that is read-only.
Object Name : axes
Property Name : 'BeingDeleted'.
But I can access
handle_gca_mapshow.Position
And I can do
new_axes = axes('Position',handle_gca_mapshow.Position);
And so I thought the code 'axes(handle_gca_mapshow)' is wrong. But it seems something else is wrong. Do you have any idea?
Thanks, Claudia

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Distribution Plots finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 29 Nov. 2013

Bearbeitet:

am 29 Nov. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by