edit data in a figure

1 visualizzazione (ultimi 30 giorni)
Peter To
Peter To il 15 Mag 2014
Modificato: Peter To il 31 Mag 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 Commenti
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh il 15 Mag 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 il 31 Mag 2017
Modificato: Peter To il 31 Mag 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by