comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Adding Legends to Coyote Graphics Windows
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Adding Legends to Coyote Graphics Windows [message #87544 is a reply to message #87543] Fri, 14 February 2014 09:22 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
elisadelgadomena@gmail.com writes:

> Thanks for the quick answer. I will try that new.
> In any case I changed to al_legend and it worked! Before I was using legend.pro, I didn't know this one, and I assumed that I had to use cglegend when using cgplot (since the normal legend.pro was not working with cgplot).
> I kept the program as before, just changing from cglegend to al_legend and though the appearance of the eps opened with gb or similar is the same, when creating the pdf in latex nothing strange appears now.

Yes, AL_LEGEND does the smoke and mirror trick in a slightly different
way. It draws the legend twice, but then "erases" the first instance
by drawing a rectangle over the first instance in the background color.
My solution was an attempt to avoid drawing the entire legend twice. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Writing an 8 Column array into a data file
Next Topic: 2D density plot and logarithmic axes

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 02:18:40 PDT 2025

Total time taken to generate the page: 1.28151 seconds