Clear Filters
Clear Filters

plot with axis properties from another plot

1 view (last 30 days)
Bahram
Bahram on 25 Apr 2012
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
Rick Rosson on 25 Apr 2012
>> doc copyobj

Tags

Community Treasure Hunt

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

Start Hunting!