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

Home » Public Forums » archive » Re: display question
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: display question [message #11194] Mon, 09 March 1998 00:00 Go to previous message
nospam is currently offline  nospam
Messages: 21
Registered: November 1997
Junior Member
In article <MPG.f6a02cf8e3f5b6698973d@news.frii.com> davidf@dfanning.com (David Fanning) writes:

> I presume that many of these boxes will be the same size
> and shape. One of the things I've done is make my own
> plot symbol (using USERSYM) that is the correct shape for
> what I want to plot. Then I just set up a plot (with or
> without axes) and simply plot the pixels into the data
> space with the Plot command and PSYM set to 8. This saves
> having to go into device coordinate space.

I tried that, but there doesn't seem to be any good way to control the
size of the symbol that you get out. You can use xyouts to get the
size of a character, and the plotting routine sets the plotted size of
the character to be "about" the size of a character. But, there
doesn't seem to be a way to control accurately the size of the symbol.

I thought of what will probably be a better solution. I'll use plot
with /NODATA to set up the axes and data space, then get the number of
pixels in the display area and the data range, then create an array
as big as the display area, fill it with my little boxes of different
sizes and colors, and then tv it once.

scott

--
Scott Stuart
stuart at ll mit edu
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Quasi-freehand curve fitting...
Next Topic: Vector-Drawn Fonts in plotting procedures

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

Current Time: Wed Oct 08 18:22:07 PDT 2025

Total time taken to generate the page: 0.00429 seconds