Re: switch off axis labeling [message #12169] |
Mon, 29 June 1998 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Cathy Saute (csaute3@alumni.umbc.edu) writes:
> I am implementing this method to rid of x axis labels and my plot looks
> fine, but occasionally get an error message after my plot command:
>
> % Program caused arithmetic error: Floating overflow
>
> Is there a way to get rid of this error message?
> Some way to check the data before the plot command?
> I have an end-user of my program who thinks something is wrong
> anytime he sees this error message.
>
I don't recommend this for everyone, but for this user, you
could bracket the command that causes the warning with !Quiet=1
and !Quiet=0. :-)
IF !Bob THEN !Quiet = 1
Plot, data
IF !Bob THEN !Quiet = 0
Cheers,
David
---
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|