Scale plot problem !!

3 visualizaciones (últimos 30 días)
Susan
Susan el 27 de Jul. de 2011
Hey every1,
I am working on a small set of data to learn how to do it in my actual work !! I created two plots and the second plots I replaced the content of the plot with the content of the first plot and left the first 3 entries out I made it NaN, so the point is now my two plots are actual identical apart from my second plot b is shifted by 3 where I made it NaN.. I want to put both plot on the same graph and scale by some amount so I will be able to see the both the same apart from one is shifted.. I know I need hold on in the plot to plot them both together but I am not sure how to scale it so I will be able to see it??? How can you scale a plot by some amount to bring down a bit ???
Thanks in advance,

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 27 de Jul. de 2011
axis([Xmin Xmax Ymin Ymax]);
  11 comentarios
Paulo Silva
Paulo Silva el 27 de Jul. de 2011
No Susan it isn't complicated, the problem is that too many users don't start by reading the basic documentation (me included) and often have to do something hard without the proper basis, MATLAB got the best documentation of any program you can get, all functions are documented and include examples.
Teachers should teach first how to use MATLAB basic functions and only after it ask students to use it for more difficult assignments.
Susan
Susan el 27 de Jul. de 2011
In my case was not taught Matlab at uni at all, we just learnt Java but was asked to use it for my actual project and trying to understand the pieces now so I can easily apply the whole methodology to the project hopefully but I do read about it but still need to read more but Thanks guys for your helps and advice :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by