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

If you have something like:

H+= text("$\cos(x)$", (1, 1), fontsize=16, color='black')
\[ \sageplot{G+H}\] 

into a tex file, how can you place it on the left or on the right, and make it smaller, or even show it vertically? Note: the whole thing is showing correctly, but just too big in the middle of the page. I need general advise in how to deal with sagemath plots like this (using Kile).

share|improve this question

You can center the plot with \begin{center} ... \end{center} and control the size with the scale option to \sageplot as this working example shows:

H= text("$\cos(x)$", (1, 1), fontsize=16, color='black')
\begin{center} \sageplot[scale=.5]{G+H} \end{center}

Centered graphics at 0.5 scale.

share|improve this answer

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.