Re: al_legend symbol points and lines in the same legend [message #82287] |
Fri, 23 November 2012 06:10 |
simona bellavista
Messages: 56 Registered: December 2009
|
Member |
|
|
yes, thank you
it works
On Friday, November 23, 2012 1:15:37 PM UTC, Mats Löfdahl wrote:
> Den fredagen den 23:e november 2012 kl. 13:08:52 UTC+1 skrev simona bellavista:
>
>> Hello there, I am plotting both scattered points and lines and I would like to create just one legend with both symbols points and lines. I tried
>
>>
>
>> al_legend, ['symbol1','symbol2','line'], psym =[4,2, -1], linestyle=[-1, -1,1]
>
>>
>
>> I want a list with psym=4 psym=2 and linestyle=1
>
>>
>
>> how do I do that?
>
>
>
> Maybe this does what you want:
>
>
>
> al_legend, ['symbol1','symbol2','line'], psym =[4, 2, 0], linestyle=[0, 0, 1]
>
>
>
> /Mats
|
|
|
Re: al_legend symbol points and lines in the same legend [message #82290 is a reply to message #82287] |
Fri, 23 November 2012 05:19  |
Helder Marchetto
Messages: 520 Registered: November 2011
|
Senior Member |
|
|
On Friday, November 23, 2012 1:08:52 PM UTC+1, simona bellavista wrote:
> Hello there, I am plotting both scattered points and lines and I would like to create just one legend with both symbols points and lines. I tried
>
>
>
> al_legend, ['symbol1','symbol2','line'], psym =[4,2, -1], linestyle=[-1, -1,1]
>
>
>
> I want a list with psym=4 psym=2 and linestyle=1
>
>
>
> how do I do that?
I never used Al_Legend, but did you try with:
al_legend, ['symbol1','symbol2','line'], psym =[4,2,0], linestyle=[0, 0,0]
Cheers,
Helder
|
|
|
Re: al_legend symbol points and lines in the same legend [message #82291 is a reply to message #82290] |
Fri, 23 November 2012 05:15  |
Mats Löfdahl
Messages: 263 Registered: January 2012
|
Senior Member |
|
|
Den fredagen den 23:e november 2012 kl. 13:08:52 UTC+1 skrev simona bellavista:
> Hello there, I am plotting both scattered points and lines and I would like to create just one legend with both symbols points and lines. I tried
>
> al_legend, ['symbol1','symbol2','line'], psym =[4,2, -1], linestyle=[-1, -1,1]
>
> I want a list with psym=4 psym=2 and linestyle=1
>
> how do I do that?
Maybe this does what you want:
al_legend, ['symbol1','symbol2','line'], psym =[4, 2, 0], linestyle=[0, 0, 1]
/Mats
|
|
|