Graphics, Figures & Tablespstricks | Improper Axes

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Mini
Posts: 73
Joined: Thu Aug 06, 2009 12:46 pm

pstricks | Improper Axes

Post by Mini »

Hello all,

I've just installed Texmaker on my mac. I quite like all of its features, however I'm having a hard time getting it to do what I want.

For example I have the following source code:

Code: Select all

Code, edit and compile here:
\documentclass[12pt, a4paper, fleqn, leqno]{article}
\usepackage{pstricks}
\usepackage{pst-plot}
\begin{document}
Test
Testing...
\newpage
\begin{pspicture}(-2,-2)(2,2)
\psaxes{->}(0,0)(-2,-2)(2,2)
\end{pspicture}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The pstricks command doesn't seem to produce proper axes (see attached output file).

I would thank anyone who can help me out with the this problem so much. Texmaker seems to be the Latex editor that I like, but it has to produce the correct output!

Thanks
Attachments
test.pdf
(3.14 KiB) Downloaded 174 times
Last edited by Mini on Sat Nov 12, 2011 3:56 pm, edited 4 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: pstricks | Improper Axes

Post by localghost »

Your code works just fine for me when compiling »LaTeX → DVI → PS → PDF«.


Thorsten
Mini
Posts: 73
Joined: Thu Aug 06, 2009 12:46 pm

Re: pstricks | Improper Axes

Post by Mini »

Okay my bad. I forgot to compile to PS before compiling to PDF, which is needed for pstricks.

*Phew* one problem solved... Thanks heaps!
Post Reply