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 just tried this code to check whether both cases result in the same output. Apparently they are not identical. Why?


gridwidth=0.4pt,%default: 0.8pt
gridcolor=Red!20,%default: black
griddots=0,%default: 0 
gridlabels=5pt,%default: 10pt
gridlabelcolor=Blue,%default: black
subgriddiv=5,%default: 5
subgridwidth=0.2pt,%default: 0.4pt
subgridcolor=Green!20,%default: gray
subgriddots=0%default: 0




Could you elaborate how \psscalebox and \rput do their jobs internally?

share|improve this question

Why should this be the same?

  • first scaling effects everything, also the coordinates

  • first setting, then scaling doesn't effect the coordinates

However, use \psscalebox when using pstricks.

share|improve this answer
\scalebox{} does the same behavior as \psscalebox when they are used in PSTricks. I just tried. – xport Jan 11 '11 at 15:32
@xport: parameter setting for x y scaling is different. And it makes more sense to use the macros from PSTricks here – Herbert Jan 11 '11 at 15:43
I understood now. I forgot that the composition of translation and scaling is not commutative. :-) – xport Jan 11 '11 at 15:50
up vote 1 down vote accepted

alt text

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.