0

I have 4 subgraphs, each has one legend for itself and I want to put a legend for the whole figure. I want to put it outside the plots. I can do these separately as you can see on the figures. but I want to have them in one picture.

enter image description here

n

Maryam Kia
  • 51
  • 6
  • this question is duplicate : https://stackoverflow.com/questions/9834452 – Mohammad Hosein Aug 25 '20 at 13:04
  • 1
    Your second picture looks fine. Can you explain more? – Ynjxsjmh Aug 25 '20 at 14:34
  • @Ynjxsjmh I want to have both legends at one pic – Maryam Kia Aug 26 '20 at 06:23
  • @Mohammad Hosein No it is not. That question asks how to put one legend for many subplots. But my question is how to put two different legends ( one for the whole figure and the other for each subplot!) – Maryam Kia Aug 26 '20 at 06:25
  • Does [this](https://pastebin.com/dvw5xcse) program produces what [you want](https://i.stack.imgur.com/Cdyel.png)? – Ynjxsjmh Aug 26 '20 at 06:43
  • I want to have two legends in one figure. as you can see the first fig has power-law as a legend and the second has fit/real data as a legend. I want to have both legends in one figure @Ynjxsjmh – Maryam Kia Aug 26 '20 at 06:59
  • 1
    How about [this](https://i.stack.imgur.com/Rb1W6.png) time with [this](https://pastebin.com/qnZHSwxZ) program? – Ynjxsjmh Aug 26 '20 at 07:14

0 Answers0