From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-04-2009 03:53 PM
Hello -
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,
Alan
08-04-2009 04:41 PM
Maybe some ideas at this link where they wanted to remove the first and last label.
http://forums.ni.com/ni/board/message?board.id=170&message.id=308670&query.id=1023986#M308670
08-04-2009 07:37 PM
08-04-2009 09:03 PM
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.
Cheers,
Alan
08-05-2009 12:56 PM
06-17-2016 03:59 AM - edited 06-17-2016 04:00 AM
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
06-17-2016 05:30 AM
here is a cursor example
06-17-2016 09:53 AM
06-19-2016 03:47 PM
Sorry, post belongs to this thread
http://forums.ni.com/t5/LabVIEW/XY-Graph-overlaying-linear-log-scale-data