Is there a transformation matrix that can scale the x and/or y axis logarithmically?

Matrices are linear transformations, so they can scale, rotate, etc. But they can't stretch logarithmically. That's a nonlinear transformation.

Matrices are linear transformations, so they can scale, rotate, etc. But they can't stretch logarithmically. That's a nonlinear transformation. EDIT: But you should be able to roll this yourself, without undue trouble.

(Doesn't require a knowledge of lin alg. ) I mean, if you want the x axis to be on a logarithmic scale, take the log of the x coordinates that you're graphing. The tricky part is making the scale legend work on the side of the graph -- that boils down to transforming each scale value from x to 10^x (or whatever logarithm base you're using.

) So the legend would read: 1 10 100 1000 instead of 1 2 3 4.

Very much this. – Stephen Canon Mar 29 '10 at 16:55 thanks, yeah I kinda thought that might be the case, maybe there is a way to create my own implementation of the Transform class to do non-linear stuff? The Transform abstract base class still seems to use a matrix, and this is probably a necessity for doing the composite transformations, so maybe this isn't possible either.

Guess I'm just going to have to do log scaling myself. Bummer. – Dave M Mar 29 '10 at 17:04 it's been way too long since I took linear algebra – Dave M Mar 29 '10 at 17:06 I'm not a WPF expert, but I looked over the description of the Transform class on MSDN, and it seems to be designed exclusively for linear transformations.(There's good reason for that -- they're very versatile, and much easier to reason about.) – Rob Lachlan Mar 29 '10 at 17:33.

Well, clearly the matrix would be this: ( log(x) / x 0 ) ( x ) = ( log(x) ) ( 0 log(y) / y ) ( y ) = ( log(y) ) But that's obviously not useful. You can't write a constant matrix to do a non-linear transformation.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions