Borrar filtros
Borrar filtros

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

4 visualizaciones (últimos 30 días)
Anshul Jain
Anshul Jain el 4 de Dic. de 2021
Respondida: Walter Roberson el 4 de Dic. de 2021
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

Respuestas (1)

Walter Roberson
Walter Roberson el 4 de Dic. de 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.

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by