08-03-2023 05:23 AM
I was wondering if it is possible to change orientation of z axis/color axis in intensity graph
posted a photoshop picture for better understanding
Thanks
Solved! Go to Solution.
08-03-2023 07:26 AM
I might be missing a few marbles, but in an Intensity graph, isn't the Z axis neither "horizontal" (X) or "vertical" (Y), but rather "out of the page, towards the viewer, encoded as an "intensity" (or "color") of the X-Y 2D area?
When you have a quantity (call it "Z") that is a function of 2 variables (call them "X" and "Y"), you generally plot Z = f(X, Y) to get a view of how Z depends on X and Y, so you make the X-Y "space" the paper (or the screen) and figure out a way to plot f(X, Y) so you can see its dependence on X and Y. One way to do this is by color (or "shades of grey", why not?).
If all you want to do is to place the "key" to understand Z "intensity" mapping as a horizontal bar rather than a vertical bar, I'm not sure why that would be useful, as X would still be positive-to-the-right and Y positive-up, with Z "coming out of the page and scaled by color". If this is really important, use a "picture-editing" tool like Snagit to post-process the Image.
Bob Schor
08-03-2023 08:31 AM - edited 08-03-2023 08:35 AM
I doubt here is a way to change the orientation of the z axis as you show (ramp and scale), but you could always create your own using a 2D picture and some backend code. You could even use a second intensity graph where you re-used the x-scale as z, hide the y and z scale, and graph the color ramp as a 1xN 2D array.
08-03-2023 08:49 AM
@altenbach wrote:
You could even use a second intensity graph where you re-used the x-scale as z, hide the y and z scale, and graph the color ramp as a 1xN 2D array.
Here's a very primitive draft that definitely needs more code for the general case: