How to plot two 3-D figures with different axes in a single plot?

1 visualizzazione (ultimi 30 giorni)
Dear sir,
I have 2 sets of parameters (Ez, Bx, By) and (Ex, Ey, Bz) but both having different units.
(Ez, Bx, By) have units of mm.deg^2 [Ez has unit of mm, while Bx and By have units of deg.]
(Ex, Ey, Bz) have units of mm^2.deg [Ex and Ey are in mm while Bz is in deg.]
I want to show both 3-D plots (solid plots) in one figure only. Since, both set of parameters have different units, I am unable to show them in a single plot.
Excel sheet is attached with their respective values.
How to show both of them in one figure?
Kindly help.
Thnaks in advance

Risposte (1)

Walter Roberson
Walter Roberson il 4 Dic 2021
You can use subplot() or tiledlayout() to create two different visually distinct axes that are beside each other horizontally or vertically.
Or, you can create two axes that have the same Position. You would probably want to link the Position properties together for the two axes so that they stayed in the same position.

Categorie

Scopri di più su Line Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by