MATLAB Answers

live editor plots next to each other

54 ビュー (過去 30 日間)
Malte Becher
Malte Becher 2019 年 6 月 24 日
回答済み: Pullak Barik 2019 年 6 月 24 日
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.

  1 件のコメント

vidhathri bhat
vidhathri bhat 2019 年 6 月 24 日
Can't you use subplot function for them to be shown next to each other?


回答 (1 件)

Pullak Barik
Pullak Barik 2019 年 6 月 24 日
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.

  0 件のコメント





Community Treasure Hunt

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

Start Hunting!

Translated by