'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

回答(1 个)

axes(handle_gca_mapshow);

1 个评论

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

请先登录,再进行评论。

标签

提问:

2013-11-29

编辑:

2013-11-29

Community Treasure Hunt

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

Start Hunting!

Translated by