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

Home » Public Forums » archive » Re: Embedded Formatting Commands (looking for an expert)
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: Embedded Formatting Commands (looking for an expert) [message #74035 is a reply to message #74034] Thu, 16 December 2010 09:13 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
I would use psfrag instead - that allows you to write the formula in
LaTeX.

It will look so much better.

Ciao,
Paolo

On Dec 16, 12:08 pm, nata <bernat.puigdomen...@gmail.com> wrote:
> 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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Embedded Formatting Commands (looking for an expert)
Next Topic: LIST performance

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

Current Time: Thu Oct 09 09:03:23 PDT 2025

Total time taken to generate the page: 0.80103 seconds