How to plot two 3-D figures with different axes in a single plot?
1 view (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Walter Roberson
on 4 Dec 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.
0 Comments
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!