10-22-2017 03:32 PM
Hello, everyone, I want to set mapping mode of scale of graph as "reciprocal" [1], but the built-in options are merely "linear" and "logarithmic". I've tried various solutions and all failed[2]. Does anyone have some ideas to fix this problem? Thanks a lot .
[1]: "Reciprocal" I used here refers to, e.g., the markers 1, 1/2, 1/3, 1/4 are aligned equally separated, just like 1, 10, 100, 1000 are aligned equally separated for logarithmic scale.
[2]
A) I tried to invoke the position of marker by property node so that I can give manually assign their value. Unfortunately, property node merely contains the position of entire scale rather than positions of each markers.
B) I tried to assign cluster/string to markers' value, e.g., 2(1/2), 3(1/3)..., so that where one part could be used to align the markers (and later I just need to mask them with a graph) and the other can be used shown to user. Still, unfortunately, labview only accepts number and time as value of marker, rejecting cluster or string. (P.S. I wonder how labview plots histogram if value of marker rejects string?)
C) I explored the more general "picture" control, and it also does not offer customized scale markers.
D) I explored VI script to check if this one offers the access to customized scale markers. So far, I do not get an answer and I am still continuing.
Solved! Go to Solution.
10-23-2017 12:49 AM
10-23-2017 03:03 AM
Hi, Gerd,
I'm sorry I've not finished that, esp., the "string" method (method B) ), because labview does not accept string or cluster as value of marker. Do you know how to realize this idea, or could you please give an example?
Thank you very much.
Best wishes,
Joshua
10-23-2017 03:08 AM
10-23-2017 01:48 PM - edited 10-23-2017 01:49 PM
Hi, Gerd,
Thank you very much. I've understood what you mean.
Previously I think that string indicators, on one hand, can act as markers inside a scale , but, on the other hand, the number of indicators and position have to be given in advance and fixed thereby, not self-adjusting according to the range of scale as markers.
But now I find a solution: automatically feed the position of indicators according to the range of scale, and for the indicators not necessary (I put excessive indicators, more than markers) when there are not too many markers, let them become invisible. Finally, both the position and "number" of indicators can follow the range of scale as markers.
Best wishes,
Joshua