edit data in a figure

1 vue (au cours des 30 derniers jours)
Peter To
Peter To le 15 Mai 2014
Modifié(e) : Peter To le 31 Mai 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 commentaires
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh le 15 Mai 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 le 31 Mai 2017
Modifié(e) : Peter To le 31 Mai 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by