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

Home » Public Forums » archive » Re: creating own symbols for plot
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: creating own symbols for plot [message #38445 is a reply to message #38444] Sat, 06 March 2004 09:31 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Klemens Barfus writes:

> I want to create own symbols for the plots with the usersym-command.
> When I want to create a square to plot, I have to know the ratio between
> x- and y-axis, when it is not isotropic.
> Is there a way to get this ratio or do I have to specify this plot for
> example with the position keyword and get the ratio from the values for
> this keyword and the size of the page ?

I don't think this is true. The "dimensions" of the symbol
in UserSym are isotropic, and the symbol is placed on the
plot in device units. So a square is a square is a square,
no matter what size window you are using, or what the ranges
of the axes are.

You can have a look at MPI_PLOT if you like to confirm this:

http://www.dfanning.com/programs/mpi_plot.zip

There are any number of symbols there, including open and filled
squares, and they always appear the same.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: vectorising versus loops
Next Topic: Re: Widgets in VM

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

Current Time: Fri Oct 10 20:04:18 PDT 2025

Total time taken to generate the page: 0.71729 seconds