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

Home » Public Forums » archive » Embedded Formatting Commands (looking for an expert)
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
Embedded Formatting Commands (looking for an expert) [message #74036] Thu, 16 December 2010 09:08
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi gurus,

I need an expert of Embedded Formatting Commands to help me.
I'm trying to write the C_CORRELATE formula in a PostScript. My code
is as follows:

;;
------------------------------------------------------------ ----------------------------------------------
SET_PLOT, 'PS'
!P.FONT=0
DEVICE, FILENAME='dummy.ps', XSIZE=10, YSIZE=10

str='!9'+STRING("345B)+'!S!A!E!7N-L-1!R!B!IK=0!N (x!Dk!N -!
9'+STRING("140B)+$
'!7x)(y!Dk+L!N -!9'+STRING("140B)+'!7y)';+$
XYOUTS, 0.5, 0.6, str, /NORMAL, ALIGNMENT=0.5, CHARSIZE=1

str='!9( '+STRING("133B)+STRING("345B)+'!S!A!E!7N-1!R!B!IK=0!N(x!
Dk!N - !9'+$
STRING("140B)+'!7x)!E2!N!9'+STRING("135B)+STRING("133B)
+STRING("345B)+$
'!S!A!E!7N-1!R!B!IK=0!N(y!Dk!N - !9'+STRING("140B)+'!7y)!E2!N!
9'+STRING("135B)+$
' )!E1/2!N'
XYOUTS, 0.5, 0.4, str, /NORMAL, ALIGNMENT=0.5, CHARSIZE=1

DEVICE, /CLOSE
;;
------------------------------------------------------------ ----------------------------------------------

I have a problem trying to write the upper part and the lower part of
the formula together. How can I do it ?
I know this is embarrassing but any help is appreciated.

Thanks in advance.
nata
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: ITT VIS at the 2010 AGU Fall Meeting
Next Topic: Re: Embedded Formatting Commands (looking for an expert)

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

Current Time: Wed Oct 08 19:56:40 PDT 2025

Total time taken to generate the page: 0.00363 seconds