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

Home » Public Forums » archive » Intermittent plotting problem
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: Intermittent plotting problem [message #27073 is a reply to message #26926] Thu, 04 October 2001 13:26 Go to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
George Hawkins wrote:
>
> Hello,
>
> I have a plotting program running on a windows computer,
> and the problem is sometimes it works and sometimes it
> doesn't (the exact same program with nothing changed).
> When it doesn't work, most of the plot is made fine,
> except that none of the lines from the "Plots" commands
> are drawn. The gist of the program is ...
>
> window,1,xsize=782*3,ysize=1020*3,/pixmap
> plot,x,y,psym=3
> ...
> plots,[.04,.23],[.925,.925],color=255,/normal,thick=3.0,line style=0
> plots,[.23,.23],[.925,.96],color=!d.n_colors-1,/normal,thick =3.0,linestyle=0
> ...
> write_png,filename,not(tvrd())
> wdelete,1
>
> Rebooting sometimes solves the problem but not always.
> Does anyone have the answer to this intermittent problem?

Are you sure the "plots" lies are drawn, but are the same color as the background? I.e. a color
problem. The reason I ask is a similar thing happended to me today when I used COLOR=255. I
don't know enough about the WRITE_PNG routine to know if this is the issue or not (at least for
the first PLOTS although the second might screw up also if the color table is weird).

$0.02

paulv

--
Paul van Delst Religious and cultural
CIMSS @ NOAA/NCEP purity is a fundamentalist
Ph: (301)763-8000 x7274 fantasy
Fax:(301)763-8545 V.S.Naipaul
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using MIN on arrays : Exorcising loops?
Next Topic: IDL LINUX support question

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

Current Time: Sat Oct 11 12:26:11 PDT 2025

Total time taken to generate the page: 0.56467 seconds