Is there a transformation matrix that can scale the x and/or y axis logarithmically?
Posted
by Dave M
on Stack Overflow
See other posts from Stack Overflow
or by Dave M
Published on 2010-03-29T14:52:09Z
Indexed on
2010/03/29
14:53 UTC
Read the original article
Hit count: 171
I'm using .net WPF geometry classes to graph waveforms. I've been using the matrix transformations to convert from the screen coordinate space to my coordinate space for the waveform. Everything works great and it's really simple to keep track of my window and scaling, etc. I can even use the inverse transform to calculate the mouse position in terms of the coordinate space. I use the built in Scaling and Translation classes and then a custom matrix to do the y-axis flipping (there's not a prefab matrix for flipping). I want to be able to graph these waveforms on a log scale as well (either x axis or y axis or both), but I'm not sure if this is even possible to do with a matrix transformation. Does anyone know if this is possible, and if it is, what is the matrix?
© Stack Overflow or respective owner