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

Home » Public Forums » archive » Using textthick control on cgColorbar
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: Using textthick control on cgColorbar [message #90687 is a reply to message #90686] Thu, 26 March 2015 14:05 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
christina.haig@gmail.com writes:

> Has anyone successfully used the textthick command on cgColorbar? If so, perhaps you can help me figure out what I might be doing wrong. Instead of getting an error message, I get a weird hang in code that normally completes in less than a second.
>
> Here is my complete color bar section:
>
> ticks=loglevels([30,4000],/Fine)
> nticks = n_elements(ticks)
> cgColorbar,Range=[30,4000],Position=[0.15, 0.85, 0.9, 0.93],$
> /ylog,/vertical,yticks=nticks-1,ytickv=ticks,charsize=3,/rig ht,textthick=4
>
> If needed, I can also post the rest of the device commands. This is output in ps, and without the textthick command comes out normally, except for very thin lines and font.

Looks like it works perfectly to me. Here is the code I used to test it
on my Windows machine:

cgPS_Open, 'test.ps'
ticks=loglevels([30,4000],/Fine)
nticks = n_elements(ticks)
cgColorbar,Range=[30,4000],Position=[0.15, 0.85, 0.9, 0.93],$
/ylog,/vertical,yticks=nticks-1,ytickv=ticks,$
charsize=3,/right,textthick=4
cgPS_Close
END

Have you updated your Coyote Library lately?

http://idlcoyote.com/code_tips/fixcoyoteprogram.php

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Rick Towler's idl programs (camera etc.)....
Next Topic: FIT_ELLIPSE

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

Current Time: Fri Oct 10 06:51:59 PDT 2025

Total time taken to generate the page: 0.92690 seconds