LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change in orientation (vertical to horizontal) of z axis of intensity graph?

Solved!
Go to solution

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

 

Iamakash_0-1691058138646.png

 

Thanks

 

0 Kudos
Message 1 of 4
(807 Views)

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

0 Kudos
Message 2 of 4
(777 Views)

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.

0 Kudos
Message 3 of 4
(764 Views)
Solution
Accepted by Iamakash

@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:

 

altenbach_0-1691070566938.png

 

0 Kudos
Message 4 of 4
(754 Views)