[pstricks] PTRricks to html

Pedro Vicente Esteban Duarte pesteban at rocketmail.com
Sat Apr 12 07:36:03 CEST 2003


I graph figures on pstrics, Why not view on html format? Pedro

pstricks-request at tug.org wrote:Send pstricks mailing list submissions to
pstricks at tug.org

To subscribe or unsubscribe via the World Wide Web, visit
http://tug.org/mailman/listinfo/pstricks
or, via email, send a message with subject or body 'help' to
pstricks-request at tug.org

You can reach the person managing the list at
pstricks-owner at tug.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of pstricks digest..."


Today's Topics:

1. Re: psset and absolute lengths (Herbert Voss)


----------------------------------------------------------------------

Message: 1
Date: Wed, 09 Apr 2003 16:47:17 +0200
From: Jana.Voss at t-online.de (Herbert Voss)
Subject: Re: [pstricks] psset and absolute lengths
To: Richard Hensh , pstricks at tug.org
Message-ID: <3E943275.3070001 at alumni.TU-Berlin.DE>
Content-Type: text/plain; charset=us-ascii; format=flowed

Richard Hensh schrieb:
> I'm trying to define my own tick marks. I've successfully created macros
> to do the job but I have a problem when I scale (using \psset).

maybe this helps

Herbert

\documentclass{article}
\usepackage{pstricks}
\usepackage{pst-key}
\usepackage{multido}
\makeatletter
\define at key{psset}{ticklength}{%
\edef\psk at ticklength{#1}%
}
\psset{ticklength=0.5}
\def\xTick(#1){%
\SpecialCoor
\pst at getcoor{#1}\pst at tempa
\psline(!%
\pst at tempa exch \pst at number\psxunit div
exch \pst at number\psxunit div \psk at ticklength\space sub)(!%
\pst at tempa exch \pst at number\psyunit div
exch \pst at number\psxunit div \psk at ticklength\space add)
\NormalCoor
}
\makeatother
\begin{document}
\psset{unit=1cm}
\begin{pspicture}(5,5)
\psline(0,2)(5,2)
\psset{linecolor=red,ticklength=1}
\multido{\no=0+1}{6}{\xTick(\no,2)}
\psset{linecolor=blue,ticklength=0.5}
\multido{\no=0+1}{6}{\xTick(\no,2)}
\end{pspicture}
\end{document}


------------------------------

_______________________________________________
pstricks mailing list
pstricks at tug.org
http://tug.org/mailman/listinfo/pstricks


End of pstricks Digest, Vol 3, Issue 3
**************************************


"Verdaderamente, lo que más proporciona placer, no es el saber, sino el aprender; no la posesión, sino la conquista, no el estar aqui, sino el llegar alla".
Carl F. Gauss.




---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20030411/d560cdfe/attachment.html 


More information about the PSTricks mailing list