How can I create one chart inside another as in the picture

1 visualización (últimos 30 días)
My task is to create a chart from a table so that in the orange chart there is also a blue one as it is in the picture. The chart in the picture was created in excel but I need to have it in matlab as well. The first problem is how to select data in some range from the table. The second is how to insert one chart into another.
  1 comentario
Jan
Jan el 18 de Feb. de 2022
What kind of "table" do you mean?
The different axes can easily be created using the axes command specifying the 'Position'.

Iniciar sesión para comentar.

Respuesta aceptada

Star Strider
Star Strider el 18 de Feb. de 2022
in the axes documentation, se the section on Position Multiple Axes in Figure.

Más respuestas (1)

Image Analyst
Image Analyst el 18 de Feb. de 2022

Categorías

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

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by