LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
altenbach

Custom Axis Mapping

Status: New

Graph axes currently only have two possible mappings: Linear and logarithmic.

 

They define where ticks are placed and how pixel positions relate to values.

 

It could be useful to have other mappings (e.g. 1/x, sqrt(x), etc.). It would be great if we could even specify an arbitrarily complicated mapping, e.g. with a syntax similar to what's used in an expression node. 

2 Comments
altenbach
Knight of NI

Addition:

There should be two types of mappings:

  1. Transforming, as described above.
  2. Cosmetic, where the data is graphed linearly as before in its original units, but the axis is labeled in transformed units. For example if the data is linear in wavelength, and plotted as such, the axis markers could be labeled in terms of wavenumbers.
Message Edited by altenbach on 12-03-2009 08:42 AM
Erik Månsson
Member

altenbach's type 2 "Cosmetic" seems equivalent to "allow text labels for graph scales" on http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Allow-text-labels-for-graph-scales/idi-p/921601

 

As far as I understand type 2 is the more basic issue. If it was solved then you could manually use a loop and some property nodes to get your arbitrary scale as in type 1. I think it is worth pointing this out to increase the chance of National Instruments improving the situation, as I imagine type 2 will be easier to implement.