How to change the origin axes in an image
Show older comments
I tried with this:
ax = gca;
ax.Visible = 'On';
set(ax, 'YTickLabel', get(ax, 'YTick')+ py1 + em1/equiv + e/2/equiv);
set(ax, 'XTickLabel', get(ax, 'XTick') + px1+((lm/2)/equiv));
I want to get the blue axes from the red, but when i execute the program it appears: Invalid or deleted object, reffering to ax.
I want to plot some data respect from the blue exes.

Accepted Answer
More Answers (0)
Categories
Find more on Display Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!