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

Home » Public Forums » archive » Explicit text formatting for Object Axes
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Explicit text formatting for Object Axes [message #16829] Tue, 24 August 1999 00:00 Go to previous message
Ben Tupper is currently offline  Ben Tupper
Messages: 186
Registered: August 1999
Senior Member
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>

<pre>I must be missing something important - but haven't a clue about how to 'get it'.</pre>
&nbsp;
<pre>I think that I am explicitly formatting the text style for Object Axis annotation as follows ...</pre>

<pre></pre>

<pre>oHelvetica10 = obj_new('IDLgrFont', 'Helvetica',size = 10.)</pre>

<pre>oOrigXAxis1 -> getProperty,$
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; TickText = oTickText
oTickText -> SetProperty, Font= oHelvetica10
oOrigXaxis1 ->setProperty, Ticktext = oTicktext</pre>

<pre></pre>

<pre>To my great surprise the text is scaled to different sizes when displayed (and frequently illegible).</pre>

<pre>It looks like the scaling is related to the axis data range (big ranges yield small text sizes).</pre>

<pre>Shouldn't Helvetica 10pt be sized to 10pt?</pre>

<pre></pre>

<pre>Thanks, Ben</pre>

<pre>--&nbsp;
Ben Tupper

Bigelow Laboratory for Ocean Science
tupper@seadas.bigelow.org

Pemaquid River Company
pemaquidriver@tidewater.net</pre>
&nbsp;</html>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: idl > memory problems
Next Topic: IDL Syntax ?

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

Current Time: Wed Oct 08 13:33:47 PDT 2025

Total time taken to generate the page: 0.00840 seconds