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

Home » Public Forums » archive » Calculate the size of text-output
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Calculate the size of text-output [message #89410] Fri, 10 October 2014 03:48 Go to previous message
corinnefrey is currently offline  corinnefrey
Messages: 18
Registered: November 2006
Junior Member
Hello,

I would like to know the size of a text-annotation in a plot:

eg.
w = window(dimensions=[200,200])
t = text(0,0,myannotation,font_name=myfont,font_size=15,/device)

How can I find out the pixel size of myannotation?

I need to know this for the scaling of another new window.

Thanks and best regards,
Corinne
[Message index]
 
Read Message
Read Message
Previous Topic: Scaling cgColorbar to match data
Next Topic: IDL Programmer Wanted at Princeton University

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

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

Total time taken to generate the page: 0.00451 seconds