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

Home » Public Forums » archive » Re: Tick mark annotations after rotation using az?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Tick mark annotations after rotation using az? [message #12238] Mon, 27 July 1998 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Mirko Vukovic (mvukovic@my-dejanews.com) writes:

> It looks like the IDLgrTEXT may have an answer with the ONGLASS property.
> Have not tried that one (or any of the oog stuff) yet.

I think (I haven't tried it really either) that ONGLASS is similar
to using hardware fonts in direct graphics. Yes, it makes the text
visible, but you lose the rotational capability. I think you can
probably have one or the other, but not both together.

If I'm wrong, I trust someone will correct me. ;-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Tick mark annotations after rotation using az? [message #12239 is a reply to message #12238] Mon, 27 July 1998 00:00 Go to previous message
mvukovic is currently offline  mvukovic
Messages: 63
Registered: July 1998
Member
In article <MPG.102638d45d531a8f989814@news.frii.com>,
davidf@dfanning.com (David Fanning) wrote:
> Holger Schaal (hschaal@gwdg.de) writes:
>
>> The output of the following procedure is a plot of the electric field
>> potential at the interface ATR-crystal/sample for different angles of
>> incidence and different refractive index ratios (IR-Spectroscopy):
>> The rotation az = 225 gives the best point of view to see how the surface
>> looks like, I think. But now the tick mark annotations are unreadable - look
>> like mirrored or headfirst.
>>
>> Now I hope, anyone reading this has an idea to solve my problems.
>
> I can't think of any way to solve this text rotation
> problem without adding the textual annotation yourself,
> (e.g., with XYOutS) which almost certainly will be a
> frustrating and difficult exercise.
stuff deleted

It looks like the IDLgrTEXT may have an answer with the ONGLASS property.
Have not tried that one (or any of the oog stuff) yet.

mirko

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
Re: Tick mark annotations after rotation using az? [message #12243 is a reply to message #12238] Mon, 27 July 1998 00:00 Go to previous message
Kevin Ivory is currently offline  Kevin Ivory
Messages: 71
Registered: January 1997
Member
Holger Schaal wrote a question I can't answer, but I would like to
show you something completely different -

Here are nine lines of his code which can completely substituted
by one line

> E_y0_thick = fltarr(74, 9)
> i = 0
> j = 0
> For i = 0,73,1 do begin
> For j = 0,8,1 do begin
> y = 2. * cos(x[i]) / sqrt(1. - n_21[j]^2)
> E_y0_thick[i,j]=y
> endfor
> endfor

This is the one line that does the same thing ;-)

E_y0_thick = 2. * cos(x) # (1. / sqrt(1. - n_21^2))

Best regards
Kevin
--
Kevin Ivory Tel: +49 5556 979 434
Max-Planck-Institut fuer Aeronomie Fax: +49 5556 979 240
Max-Planck-Str. 2 mailto:Kevin.Ivory@linmpi.mpg.de
D-37191 Katlenburg-Lindau, GERMANY http://www.gwdg.de/~kivory2/
Re: Tick mark annotations after rotation using az? [message #12244 is a reply to message #12238] Mon, 27 July 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Holger Schaal (hschaal@gwdg.de) writes:

> The output of the following procedure is a plot of the electric field
> potential at the interface ATR-crystal/sample for different angles of
> incidence and different refractive index ratios (IR-Spectroscopy):
> The rotation az = 225 gives the best point of view to see how the surface
> looks like, I think. But now the tick mark annotations are unreadable - look
> like mirrored or headfirst.
>
> Now I hope, anyone reading this has an idea to solve my problems.

I can't think of any way to solve this text rotation
problem without adding the textual annotation yourself,
(e.g., with XYOutS) which almost certainly will be a
frustrating and difficult exercise.

Let me recommend an alternative. If you make it
easy for the user to rotate the surface interactively,
then the annotations will not be as much of a problem
as they are in a fixed view. A program like XSURFACE,
which you can download from my web page, would make this
possible.

This does not, of course, solve the problem of *printing*
the results, but it is difficult for me to see how
the antagonistic goals of rotatable 3D text and always-readable
text can both be obtained.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Translating IDL Co ordinates
Next Topic: Need help reseting widget buttons

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

Current Time: Wed Oct 08 14:56:35 PDT 2025

Total time taken to generate the page: 0.00572 seconds