pgf-tikz / pgf

A Portable Graphic Format for TeX
https://pgf-tikz.github.io/
1.14k stars 108 forks source link

error in the documentation, version 3.0.0 (probably older) #303

Closed pgf-tikz-bot closed 5 years ago

pgf-tikz-bot commented 10 years ago

Migrated from SourceForge Author: koslowj Timestamp: 2014-03-22 22:17:01.825000

In Section 25.3 on page 361 the effect of the coordinate transformation cm is described as multiplying a matrix with a column vector from the right, and adding an offset in form of another column vector. In fact, the example following after the definition of cm only makes sense, when row vectors are used (with the same matrix).

pgf-tikz-bot commented 10 years ago

Migrated from SourceForge Author: talopnahli Timestamp: 2014-04-05 11:26:21.590000

It is easier to state that the matrix should be transposed in the documentation. So the affine map is $y = (A^T)*x + d$ where A is the documented matrix x is the old coord vector d is the translation and y is the transformed coordinate vector.

pgf-tikz-bot commented 10 years ago

Migrated from SourceForge Author: koslowj Timestamp: 2014-04-05 12:32:57.765000

"easier" maybe in the sense of making the correction (add a
transposition symbol to the matrix), but the pgf syntax uses
row-vectors rather than column-vectors, so in my view transposing
everything, vectors and the matrix, is bound to create confusion. But
the main thing, of course, is to have a correct description.

-- Jürgen

Quoting percusse talopnahli@users.sf.net:

It is easier to state that the matrix should be transposed in the
documentation. So the affine map is $y = (A^T)*x + d$ where A is the
documented matrix x is the old coord vector d is the translation and
y is the transformed coordinate vector.


[bugs:#304] error in the documentation, version 3.0.0 (probably older)

Status: open Group: v1.0 (example) Labels: documentation cm Created: Sat Mar 22, 2014 10:17 PM UTC by Jürgen Koslowski Last Updated: Sat Mar 22, 2014 10:17 PM UTC Owner: nobody

In Section 25.3 on page 361 the effect of the coordinate
transformation cm is described as multiplying a matrix with a column
vector from the right, and adding an offset in form of another
column vector. In fact, the example following after the definition
of cm only makes sense, when row vectors are used (with the same
matrix).


Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/pgf/bugs/304/

To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/

Juergen Koslowski If I don't see you no more on this world ITI, TU Braunschweig I'll meet you on the next one koslowj@iti.cs.tu-bs.de and don't be late! http://www.iti.cs.tu-bs.de/~koslowj Jimi Hendrix (Voodoo Child, SR)


This message was sent using IMP, the Internet Messaging Program.

pgf-tikz-bot commented 10 years ago

Migrated from SourceForge Author: talopnahli Timestamp: 2014-04-05 13:47:53.871000

True but I don't see any row-vector convention in the manual other than writing the coordinates inline in Sec. 103.2.1. In fact PostScript uses col vectors. Hence my suggestion to fix the matrix.

pgf-tikz-bot commented 10 years ago

Migrated from SourceForge Author: koslowj Timestamp: 2014-04-06 09:16:04.892000

Quoting percusse talopnahli@users.sf.net:

True but I don't see any row-vector convention in the manual other
than writing the coordinates inline in Sec. 103.2.1. In fact
PostScript uses col vectors. Hence my suggestion to fix the matrix.

Right, in order to stay consistent with existing notation, that is
probably the way to go. Tells you something about the existing
notation, though... PostScript should have known better, its xf, not
f(x)! But I digress.

-- Jürgen

-- Juergen Koslowski If I don't see you no more on this world ITI, TU Braunschweig I'll meet you on the next one koslowj@iti.cs.tu-bs.de and don't be late! http://www.iti.cs.tu-bs.de/~koslowj Jimi Hendrix (Voodoo Child, SR)


This message was sent using IMP, the Internet Messaging Program.

pgf-tikz-bot commented 9 years ago

Migrated from SourceForge Author: kpymtzanev Timestamp: 2015-08-08 08:00:10.462000

This looks the same as the bug #339 (that is closed now).

pgf-tikz-bot commented 9 years ago

Migrated from SourceForge Author: cfeuersaenger Timestamp: 2015-08-08 09:28:29.465000

pgf-tikz-bot commented 9 years ago

Migrated from SourceForge Author: cfeuersaenger Timestamp: 2015-08-08 09:28:29.570000

Yes, it is a duplicate. Thanks for pointing this out.