[texhax] Question
Axel E. Retif
axel.retif at mac.com
Sun Jan 17 07:01:54 CET 2010
On 16 Jan, 2010, at 22:07, Brandon Kuczenski wrote:
> On Sat, 16 Jan 2010, File Store wrote:
>
>> Can you please tell me if the LaTeX has capability to do graph and related staff without including as an image?
>
> Sure. For instance:
>
> \documentclass{minimal}
>
> \usepackage{pstricks-add}
>
> \begin{document}
> \centering
> \begin{pspicture}(-5,-2)(5,2)
> \psaxes(0,0)(-4.5,-1.25)(4.5,1.25)
> \psplot[plotpoints=100,algebraic]{-4}{4}{sin(x)}
> \end{pspicture}\\
> $sin(x)$
> \end{document}
Beautiful example, as Tom said (and, by the way, indeed it typesets OK in TeXShop if you select ``TeX and DVI'' in the Typeset menu).
Also, the OP can take a look at
http://www.texample.net/tikz/examples/
for pgf/TikZ examples.
Best,
Axel
More information about the texhax
mailing list