live editor plots next to each other

38 views (last 30 days)
Malte Becher
Malte Becher on 24 Jun 2019
Answered: Pullak Barik on 24 Jun 2019
Hey,
I want to compare different Datamatrix with Plots with the Live Editor.
I have written the Skript to show me the PLots, but they are shown under each other.
Is there a way that the plots are shown next to each other?
The picture shows the actual view.
Thanks for your answers.
Graphen.PNG
  1 Comment
vidhathri bhat
vidhathri bhat on 24 Jun 2019
Hi,
Can't you use subplot function for them to be shown next to each other?

Sign in to comment.

Answers (1)

Pullak Barik
Pullak Barik on 24 Jun 2019
As mentioned in the comment by @Vidhathri, you can try using subplot to cater to your needs- Subplot docs page.
If you want two figures side by side, I suggest you to read about figure handles from here and then read about the 'Position' property for figures from here.
You can search about the 'set' command that takes in a handle for a figure and then adjusts its location using the 'Position' property.

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!