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

Home » Public Forums » archive » Over-plotting problem...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Over-plotting problem... [message #9309] Wed, 25 June 1997 00:00 Go to next message
Gregory Grason is currently offline  Gregory Grason
Messages: 1
Registered: June 1997
Junior Member
Specifically what is a user symbol and why would I need one to
over-plot? I've never encountered this error before:

% OPLOT: No user symbol defined.


-Greg Grason
Re: Over-plotting problem... [message #9423 is a reply to message #9309] Fri, 27 June 1997 00:00 Go to previous message
Jim O'connor is currently offline  Jim O'connor
Messages: 7
Registered: March 1996
Junior Member
Gregory Grason <grason@jhuapl.edu> writes:

> Specifically what is a user symbol and why would I need one to
> over-plot? I've never encountered this error before:
>
> % OPLOT: No user symbol defined.
>

A user symbol (basically a user-supplied polygon) is useful if you
want to use a period as a plotting symbol, but want to make the period
larger than a vanishingly small dot. You might figure SYMSIZE would
work with PSYM=3, the built-in period symbol, but it doesn't. Thus:

Wave> x = findgen(100)/99.*2*!Pi*3
Wave> plot,x,sin(x),psym=3,symsize=4

does not make large dots. However, if you define a user symbol like
this:

Wave> r0=1.0 & inc=16
Wave> a=FINDGEN(inc) * (!PI * 2 /inc)
Wave> a = [a,a(0)] ;close the symbol
Wave> USERSYM, r0*cos(a),r0*sin(a),/fill ;creates a filled symbol

you can now get big dots with this:
Wave> plot,x,sin(x),psym=8,symsize=4

--
Jim
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Lab View
Next Topic: IDL 5.0 breaks idl-shell.el

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

Current Time: Wed Oct 08 15:52:45 PDT 2025

Total time taken to generate the page: 0.00466 seconds