Plot multiple different graphs on same plot

2 ビュー (過去 30 日間)
crisdeodates
crisdeodates 2020 年 5 月 16 日
コメント済み: Rik 2020 年 5 月 16 日
My Figure needs to plot you following as per my requirement:
  • 1 plot3 plot
  • 2 scatter3 plots
  • 5 quiver3 plots
  • 5 surface plots
I am careful to put the 'hold on' in between the functions. however, one of the surface and quiver plots are not visible in the final figure, but they will appear if I plot them seperately. Is there a limitation regarding the number of graphs a single figure can have? Or would it be just some rendering issue? Any help would be appreciated.
  3 件のコメント
crisdeodates
crisdeodates 2020 年 5 月 16 日
編集済み: crisdeodates 2020 年 5 月 16 日
Sure. In my actual case, all the data are coming from a file. So have to recreate for each plots
Rik
Rik 2020 年 5 月 16 日
Try to generate some fake data (or put the actual data in a mat file). Then you can start cutting away lines that you think are not important. Stop removing lines when removing even a single line will no longer produce your issue. Then post that compact code here. If it is still too long, consider attaching it as an m-file, although that shouldn't be necesarry.
This proces is usually enough to find the error. That is why Minimal Working Examples (MWE) are so valuable.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by