How to draw plot with just one variable
Mostrar comentarios más antiguos
Hello, I have one quick question. I have one variable which is an vertical array and 'y' of my desired plot. The size of it is as of now 39x1 but it can vary from what are the conditions of simulation. I would like to plot it but I have only the span of my 'x' axis (eg. 0:myothervariable(end)). So how do I create variable that contains values within desired span of my 'x' axis yet it remains the same size as the 'y' variable so I can plot it.
Thank you for your help!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Surface and Mesh Plots en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!