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

Home » Public Forums » archive » ImageMagick option not showing up in Coyote Graphics window
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: ImageMagick option not showing up in Coyote Graphics window [message #90472 is a reply to message #90440] Tue, 03 March 2015 14:22 Go to previous messageGo to previous message
allisonjaynes is currently offline  allisonjaynes
Messages: 26
Registered: May 2012
Junior Member
On Monday, March 2, 2015 at 5:25:53 PM UTC-7, David Fanning wrote:
> allison jaynes writes:
>
>> I tried output with cgControl using:
>> 1) PS_FONT=0
>> 2) PS_FONT=1
>> 3) PS_TT_FONT='Times'
>> 4) PS_TT_FONT='Helvetica'
>>
>> All the same - all have the white lines.
>> Plot titles come out the same as using cgText, predictably.
>>
>> But the tickmark labels are fine! If you use xtickname to give text to the tickmarks, they have NO white lines.
>>
>> Is this a clue?
>
> On my Windows 7 machine (all updates), with IDL 8.2.3, I run this
> command:
>
> IDL> cgplot, cgdemodata(1), Title='This is a Long Title', $
> XTitle='This is Another LONG Title', $
> YTitle='And Still Another Tiitle', $
> Font=0, Output='test_hardware.ps'
>
> I'm viewing the PostScript files in GSView 5.0 at a very high
> magnification (at least 300 percent).
>
> If I set FONT=0, I see no evidence of lines. If I set FONT=1 (with a
> Times True-Type font selected), I see evidence of lines in the Plot
> titles, including the X and Y titles, but not on the number annotations
> for the axes.
>
> If I set FONT=0, and turn anti-aliasing on in the viewer, the text is
> smooth. If I turn it off, the text is jagged about the boundaries, as I
> expect.
>
> If I set FONT=1, then the output (although it has lines from the
> polygons that made up the title fonts), shows no effect with anti-
> aliasing on or off. Also, exactly what I would expect.
>
> The lines (or not) from the PostScript file is carried over to the PDF
> file when I create that from the PostScript file.
>
> If I set FONT=1 and render in 24-bit color in the PostScript device,
> there is no difference from doing this in 8-bit color.
>
> If I set FONT=1, LANGUAGE_LEVEL=2, DECOMPOSED=[0 or 1], there is no
> difference in output.
>
> Any clues there? :-)
>
> 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.")

Okay! This method of using FONT=0 and FONT=1 within the cgPlot call works!
See the two plots below, one using FONT=0 and the next using FONT=1.

https://www.dropbox.com/s/sssrxis3gadzmoz/Font%3D0.pdf?dl=0

https://www.dropbox.com/s/snr3g9933o7qda5/Font%3D1.pdf?dl=0

BUT now I want to get this to work after loading a ton of commands into a cgWindow. It seems that theoretically it should work using cgControl, PS_FONT=0, but as Phillip mentioned above, that command is ineffectual. Is this a bug, maybe?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: data with number of columns variables
Next Topic: WIDGET_TABLE and /ALL_EVENTS

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

Current Time: Wed Oct 08 17:48:48 PDT 2025

Total time taken to generate the page: 0.00428 seconds