How to plot four variables in a line graph ?
显示 更早的评论
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 个评论
KSSV
2018-10-8
Show us the equation....I guess there would be some range to other variables as well i.e for (x,y,z)
chayanon summueang
2018-10-8
编辑:chayanon summueang
2018-10-8
KSSV
2018-10-8
Copy the code....no image snippets.....
chayanon summueang
2018-10-8
编辑:KSSV
2018-10-8
Jan
2018-10-8
@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
2018-10-8
Btw no of elements of x4 y4 are not the same.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Software Development 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
