I'd like to create a gauge that has a scale that isn't linear or log... See that attachment for an example of such a gauge; note that spacing between markers varies. Can this be done? If so, how? (My gauge in LabVIEW can have an circular shape, and need not be oriented like in the image...)
Thanks for the information and suggestions! There is a dynamic component to the project requiring multiple changing gauges, so an image isn't feasible, but would definitely be the obvious choice otherwise. The text label approach looks good, but it's frustrating that you can put the markers in arbitrary positions in this mode.
The nonlinear (nonlog) relation is between x and xStar, you choosed a log-scale grid, so I assume the 'linear' scale should be adjusted.
Since the relatiion x -> xStar is given and fixed for a scale, you can create a picture on top of the graph with the picture tools.
read the log scale min and max, read the x pixel length of the plot area and whenever the scale is changed (event) recalculate and draw the 'lin' scale.
-draw the minor ticks , draw the major ticks and numbers.
I would simply use one scale, add a cursor, lock it to the plot and use the cusor change even (read pointindex, get x,y from data) to display x,xStar and y
here is a cursor example
Sorry, post belongs to this thread