'hold on' with mapshow and roseplot

2 views (last 30 days)
Claudia
Claudia on 29 Nov 2013
Edited: Claudia on 29 Nov 2013
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

Answers (1)

Walter Roberson
Walter Roberson on 29 Nov 2013
axes(handle_gca_mapshow);
  1 Comment
Claudia
Claudia on 29 Nov 2013
Edited: Claudia on 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

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!