How to plot four variables in a line graph ?
Afficher commentaires plus anciens
I have one equation with 4 variables (x,y,z,d).I substitute the variable x in the equation and have 3 variables. I want to plot with 3 variables in a line graph.
How can I plot this graph? Thank you very much for your answer :)
6 commentaires
KSSV
le 8 Oct 2018
Show us the equation....I guess there would be some range to other variables as well i.e for (x,y,z)
chayanon summueang
le 8 Oct 2018
Modifié(e) : chayanon summueang
le 8 Oct 2018
KSSV
le 8 Oct 2018
Copy the code....no image snippets.....
chayanon summueang
le 8 Oct 2018
Modifié(e) : KSSV
le 8 Oct 2018
Jan
le 8 Oct 2018
@chayanon summueang: By the way, the code looks much nicer, if you replace the expensive power operation 1*(10^-9) by the fast constant 1e-9. In addition you can use the "{} Code" button instead of inserting a blank line after each line of code.
You forgot to mention the problem you have with this code.
madhan ravi
le 8 Oct 2018
Btw no of elements of x4 y4 are not the same.
Réponses (0)
Catégories
En savoir plus sur Display and Exploration dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
