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

Home » Public Forums » archive » Re: legend not working with symcat
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: legend not working with symcat [message #68531 is a reply to message #68528] Wed, 04 November 2009 11:28 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Nov 4, 9:21 am, maurya <ramaury...@gmail.com> wrote:
> I changed the "legend.pro" as you have suggested. Now, it is working
> for n<=10 only. For larger values of n>10 it is giving following
> error:
>
> PLOTS: PSYM (plotting symbol) out of range

I suspect that it works for n>10 but is failing for n=10. That is
because the IDL definition of PSYM=10 (which SYMCAT() follows) does
not really define a symbol, but tells IDL to plot in histogram mode.
It *cannot* be used with PLOTS, e.g.

IDL> plot,indgen(10),indgen(10)
IDL> plots,5,5,psym=symcat(10)
% PLOTS: PSYM (plotting symbol) out of range

So it is probably best to not use PSYM=10. (What symbol should one
use in a legend to distinguish a line draw in histogram mode, versus
one connecting the points?)

--Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ENVI + IDL
Next Topic: Plot single data points in IMAP

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

Current Time: Wed Oct 08 19:56:37 PDT 2025

Total time taken to generate the page: 0.00415 seconds