MATLAB Answers

How to fix cropped legend of non-default sized plot figure?

4 views (last 30 days)
Ayham Aljawabrah
Ayham Aljawabrah on 24 Oct 2019
Hi MATLAB Users!
I have to prepare some plot using MATLAB to a predetermined size. I made a figure with the default size then resized it but the quality was poor. as shown in the attached image (right figure). So, I set the figure size directly on MATLAB (left figure in the attached image) but the legend was cropped because it contains large titles. I tried to change the marker size and font size, but the titles appearnce was also bad.
How can I solve the issue?

Answers (1)

Siriniharika Katukam
Siriniharika Katukam on 30 Oct 2019
There is a possible way that can be considered in case of changing marker size of legend.
  1 Comment
Ayham Aljawabrah
Ayham Aljawabrah on 7 Nov 2019
As entioned in the function discreption, it may has no effect on later version which was my case with 2019b

Sign in to comment.





Community Treasure Hunt

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

Start Hunting!