plot with axis properties from another plot
Show older comments
Hi,
I am trying to use the same axes to plot different data.
First, I plot one set of data.
Second, I use "get" to obtain the axis properties:
h1=get(Ax(1)); %horizontal axis properties
v1=get(H1); %vertical axis properties
I want to plot another x-y plot with the same axis properties as h1 and v1. Could somebody, please, help me?
Thanks in advance,
Bahram
Answers (1)
Rick Rosson
on 25 Apr 2012
>> doc copyobj
Categories
Find more on Graphics Object Properties 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!