Clear Filters
Clear Filters

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

2 views (last 30 days)
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 Comment
Jan
Jan on 18 Feb 2022
What kind of "table" do you mean?
The different axes can easily be created using the axes command specifying the 'Position'.

Sign in to comment.

Accepted Answer

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

More Answers (1)

Image Analyst
Image Analyst on 18 Feb 2022

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!