edit data in a figure

2 views (last 30 days)
Peter To
Peter To on 15 May 2014
Edited: Peter To on 31 May 2017
Dear all,
I currently have a problem that I used radii instead of diameter in figure plot. How can I change back to diameter, but I don't want to rerun the simulation because it takes me plenty of time.
For example, I have
x=1:10;
y=2:11;
u=20:30;
v=21:31;
plot(x,y,'r-',u,v,'b-');
Now, I would like to have x=2*x. How can I do it ? Thank you.
  2 Comments
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh on 15 May 2014
I think you don't have the simulation data, that's why it is a problem for you. Is it so?
Peter To
Peter To on 31 May 2017
Edited: Peter To on 31 May 2017
Yes, that's it. It is funny to comment on something posted 4 years ago. That was a pore constriction size graph. The simulation took me few days to run (seriously), and I saved only figures not the data. All I did was extracting data from the graph. So easy. Laughing on my stupidity.

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!