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  |
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 😳
|
|
|