TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I asked this question on Reddit and they told me to come here. I'm wondering if there is a way to stretch my graph, because it is narrow horizontally.

Here is a picture:

enter image description here

            \xaxis \yaxis \xnums{1} \ynums{2}
            \ticks{1} [-0.1] \thicklines
        \caption {The graph $f(x) = x^3+3$}

The 2130.sty package: https://gist.github.com/anonymous/4b9d6f43cf1daf727334

Any help will be appreciated

share|improve this question

If using another package is an option, I'd suggest you to use pgfplots to do your graphs:


every axis plot/.append style={no marks,thick},
every axis/.style={
  axis lines=middle,


  \addplot+[domain=-2:2] {(x*x*x)+3};
\caption{the graph of $f(x)=x^{3}+3$}


enter image description here

share|improve this answer
I'm not sure if I'm allowed to used a different package but I will see – hockeynl Feb 6 '14 at 1:54
@hockeynl do you know if there's some documentation for 2130.sty? I don't feel like going through the code. – Gonzalo Medina Feb 6 '14 at 1:58
I do not think so – hockeynl Feb 6 '14 at 23:41
@hockeynl and are you allowed to use pgfplots? – Gonzalo Medina Feb 7 '14 at 2:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.