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

Home » Public Forums » archive » no text on new graphics - missing path or bad file?
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
no text on new graphics - missing path or bad file? [message #93299] Thu, 09 June 2016 07:28 Go to next message
AMcNally is currently offline  AMcNally
Messages: 3
Registered: June 2016
Junior Member
Hello!
Suddenly the titles, numbers on color bars, lat/lon values on maps no longer plot in new graphics. One day they were there, the next day gone - no changes in my script.

the titles will show up in old graphics.
I have tried both embedding the argument in the intiial call

p1 = plot(indgen(4), indgen(4), title = 'test')

and after

p1 = plot(indgen(4), indgen(4))
p1.title = 'test'

but no title shows up despite the info being stored:

IDL> print, p1.title
TEXT <5012>
ALIGNMENT = 0.500000
BASELINE = 1.0000000 0.0000000 0.0000000
CLIP = 0
COLOR = 0 0 0
FILL_BACKGROUND = 0
FILL_COLOR = -1
FONT_COLOR = 0 0 0
FONT_NAME = 'Helvetica'
FONT_SIZE = 12.000000
FONT_STYLE = 0
HIDE = 0
NAME = 'Title'
ONGLASS = 0
POSITION = 0.52421875 0.91175000 0.52421875 0.91175000
STRING = 'test'
TRANSPARENCY = 0.00000
UPDIR = 0.0000000 1.0000000 0.0000000
VERTICAL_ALIGNMENT = 0.00000

It seems to be a problem of idl communicating to the new graphics window this particular text information.

Does anyone know where I might look in the IDL paths to see if a file got corrupted?

I am on a linux cluster, using idl 8.5

So far IT support has just suggested I use old graphics....not so helpful.

thanks!
Amy
Re: no text on new graphics - missing path or bad file? [message #93306 is a reply to message #93299] Fri, 10 June 2016 08:07 Go to previous messageGo to next message
AMcNally is currently offline  AMcNally
Messages: 3
Registered: June 2016
Junior Member
On Thursday, June 9, 2016 at 10:28:56 AM UTC-4, AMcNally wrote:
> Hello!
> Suddenly the titles, numbers on color bars, lat/lon values on maps no longer plot in new graphics. One day they were there, the next day gone - no changes in my script.
>
> the titles will show up in old graphics.
> I have tried both embedding the argument in the intiial call
>
> p1 = plot(indgen(4), indgen(4), title = 'test')
>
> and after
>
> p1 = plot(indgen(4), indgen(4))
> p1.title = 'test'
>
> but no title shows up despite the info being stored:
>
> IDL> print, p1.title
> TEXT <5012>
> ALIGNMENT = 0.500000
> BASELINE = 1.0000000 0.0000000 0.0000000
> CLIP = 0
> COLOR = 0 0 0
> FILL_BACKGROUND = 0
> FILL_COLOR = -1
> FONT_COLOR = 0 0 0
> FONT_NAME = 'Helvetica'
> FONT_SIZE = 12.000000
> FONT_STYLE = 0
> HIDE = 0
> NAME = 'Title'
> ONGLASS = 0
> POSITION = 0.52421875 0.91175000 0.52421875 0.91175000
> STRING = 'test'
> TRANSPARENCY = 0.00000
> UPDIR = 0.0000000 1.0000000 0.0000000
> VERTICAL_ALIGNMENT = 0.00000
>
> It seems to be a problem of idl communicating to the new graphics window this particular text information.
>
> Does anyone know where I might look in the IDL paths to see if a file got corrupted?
>
> I am on a linux cluster, using idl 8.5
>
> So far IT support has just suggested I use old graphics....not so helpful.
>
> thanks!
> Amy

Update:
the sys admins don't have the problem so seems to be associated with my profile, or quotas.
I did get some more details from the error message. I checked out these files and lines where the problem seems to be. Anyone think these would be sensitive to a users environment?

IDL> !EXCEPT=2
IDL> p1.title='help'
% Program caused arithmetic error: Floating divide by 0
% Program caused arithmetic error: Floating illegal operand
% Detected at IDLITVISTEXT::UPDATESELECTIONVISUAL 1153
/discover/vis/exelis/idl/idl85/lib/itools/components/idlitvi stext__define.pro
% Program caused arithmetic error: Floating illegal operand
% Detected at IDLITVISDATASPACE::DRAW 2385
/discover/vis/exelis/idl/idl85/lib/itools/framework/idlitvis dataspace__define.pro
Re: no text on new graphics - missing path or bad file? [message #93308 is a reply to message #93306] Fri, 10 June 2016 11:23 Go to previous messageGo to next message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
I might try adding the (undocumented) /DEBUG keyword to your plot command

p1 = plot(indgen(4), indgen(4), title = 'test',/DEBUG)

to see if it gives any additional information. But I am not hopeful. --Wayne

On Friday, June 10, 2016 at 11:08:02 AM UTC-4, AMcNally wrote:
> On Thursday, June 9, 2016 at 10:28:56 AM UTC-4, AMcNally wrote:
>> Hello!
>> Suddenly the titles, numbers on color bars, lat/lon values on maps no longer plot in new graphics. One day they were there, the next day gone - no changes in my script.
>>
>> the titles will show up in old graphics.
>> I have tried both embedding the argument in the intiial call
>>
>> p1 = plot(indgen(4), indgen(4), title = 'test')
>>
>> and after
>>
>> p1 = plot(indgen(4), indgen(4))
>> p1.title = 'test'
>>
>> but no title shows up despite the info being stored:
>>
>> IDL> print, p1.title
>> TEXT <5012>
>> ALIGNMENT = 0.500000
>> BASELINE = 1.0000000 0.0000000 0.0000000
>> CLIP = 0
>> COLOR = 0 0 0
>> FILL_BACKGROUND = 0
>> FILL_COLOR = -1
>> FONT_COLOR = 0 0 0
>> FONT_NAME = 'Helvetica'
>> FONT_SIZE = 12.000000
>> FONT_STYLE = 0
>> HIDE = 0
>> NAME = 'Title'
>> ONGLASS = 0
>> POSITION = 0.52421875 0.91175000 0.52421875 0.91175000
>> STRING = 'test'
>> TRANSPARENCY = 0.00000
>> UPDIR = 0.0000000 1.0000000 0.0000000
>> VERTICAL_ALIGNMENT = 0.00000
>>
>> It seems to be a problem of idl communicating to the new graphics window this particular text information.
>>
>> Does anyone know where I might look in the IDL paths to see if a file got corrupted?
>>
>> I am on a linux cluster, using idl 8.5
>>
>> So far IT support has just suggested I use old graphics....not so helpful.
>>
>> thanks!
>> Amy
>
> Update:
> the sys admins don't have the problem so seems to be associated with my profile, or quotas.
> I did get some more details from the error message. I checked out these files and lines where the problem seems to be. Anyone think these would be sensitive to a users environment?
>
> IDL> !EXCEPT=2
> IDL> p1.title='help'
> % Program caused arithmetic error: Floating divide by 0
> % Program caused arithmetic error: Floating illegal operand
> % Detected at IDLITVISTEXT::UPDATESELECTIONVISUAL 1153
> /discover/vis/exelis/idl/idl85/lib/itools/components/idlitvi stext__define.pro
> % Program caused arithmetic error: Floating illegal operand
> % Detected at IDLITVISDATASPACE::DRAW 2385
> /discover/vis/exelis/idl/idl85/lib/itools/framework/idlitvis dataspace__define.pro
Re: no text on new graphics - missing path or bad file? [message #93310 is a reply to message #93308] Fri, 10 June 2016 12:11 Go to previous message
AMcNally is currently offline  AMcNally
Messages: 3
Registered: June 2016
Junior Member
On Friday, June 10, 2016 at 2:23:34 PM UTC-4, wlandsman wrote:
> I might try adding the (undocumented) /DEBUG keyword to your plot command
>
> p1 = plot(indgen(4), indgen(4), title = 'test',/DEBUG)
>
> to see if it gives any additional information. But I am not hopeful. --Wayne
>
> On Friday, June 10, 2016 at 11:08:02 AM UTC-4, AMcNally wrote:
>> On Thursday, June 9, 2016 at 10:28:56 AM UTC-4, AMcNally wrote:
>>> Hello!
>>> Suddenly the titles, numbers on color bars, lat/lon values on maps no longer plot in new graphics. One day they were there, the next day gone - no changes in my script.
>>>
>>> the titles will show up in old graphics.
>>> I have tried both embedding the argument in the intiial call
>>>
>>> p1 = plot(indgen(4), indgen(4), title = 'test')
>>>
>>> and after
>>>
>>> p1 = plot(indgen(4), indgen(4))
>>> p1.title = 'test'
>>>
>>> but no title shows up despite the info being stored:
>>>
>>> IDL> print, p1.title
>>> TEXT <5012>
>>> ALIGNMENT = 0.500000
>>> BASELINE = 1.0000000 0.0000000 0.0000000
>>> CLIP = 0
>>> COLOR = 0 0 0
>>> FILL_BACKGROUND = 0
>>> FILL_COLOR = -1
>>> FONT_COLOR = 0 0 0
>>> FONT_NAME = 'Helvetica'
>>> FONT_SIZE = 12.000000
>>> FONT_STYLE = 0
>>> HIDE = 0
>>> NAME = 'Title'
>>> ONGLASS = 0
>>> POSITION = 0.52421875 0.91175000 0.52421875 0.91175000
>>> STRING = 'test'
>>> TRANSPARENCY = 0.00000
>>> UPDIR = 0.0000000 1.0000000 0.0000000
>>> VERTICAL_ALIGNMENT = 0.00000
>>>
>>> It seems to be a problem of idl communicating to the new graphics window this particular text information.
>>>
>>> Does anyone know where I might look in the IDL paths to see if a file got corrupted?
>>>
>>> I am on a linux cluster, using idl 8.5
>>>
>>> So far IT support has just suggested I use old graphics....not so helpful.
>>>
>>> thanks!
>>> Amy
>>
>> Update:
>> the sys admins don't have the problem so seems to be associated with my profile, or quotas.
>> I did get some more details from the error message. I checked out these files and lines where the problem seems to be. Anyone think these would be sensitive to a users environment?
>>
>> IDL> !EXCEPT=2
>> IDL> p1.title='help'
>> % Program caused arithmetic error: Floating divide by 0
>> % Program caused arithmetic error: Floating illegal operand
>> % Detected at IDLITVISTEXT::UPDATESELECTIONVISUAL 1153
>> /discover/vis/exelis/idl/idl85/lib/itools/components/idlitvi stext__define.pro
>> % Program caused arithmetic error: Floating illegal operand
>> % Detected at IDLITVISDATASPACE::DRAW 2385
>> /discover/vis/exelis/idl/idl85/lib/itools/framework/idlitvis dataspace__define.pro

Thanks, that suggestion might come in handy in the future.
Turns out this problem was with my X11....the problem was solved by restarting my local machine 😳
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: fits_info.pro problem
Next Topic: Spawning Unix commands from IDL under bash

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

Current Time: Wed Oct 08 09:15:42 PDT 2025

Total time taken to generate the page: 0.00658 seconds