How to plot 2 sets of data of different length with a common x axis on a single graph (3D plot)
2 ビュー (過去 30 日間)
古いコメントを表示
Hi Everyone,
I have two sets of data that have the same x axis, but a different 2nd axis/y axis. Is there a way to plot this such that the x axis is the x data, data 1 is on the y axis and data 2 is on the z axis? Oh and the two data sets may not be the same length.
Example: Say you wanted to plot horsepower, torque, and the year of a car - with the year of the car being the common axis, and horse power and torque being data 1 and data 2 as mentioned above.
Thanks for your help, Dan
0 件のコメント
回答 (1 件)
the cyclist
2015 年 3 月 27 日
It seems to me that a 3-dimensional display is not the right idea for this. What about using the plotyy command instead?
参考
カテゴリ
Help Center および File Exchange で Two y-axis についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!