LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I customize X-axis on XY Graph?

Solved!
Go to solution

Hi Guys,

 

I want to customize x-axis as 1, 3, 10, 100, 200.

2.JPG

This screenshot is set by XScale.MarkerVals[], but the display isn't meet my requirement.

 

 

1.JPG

This x-axis  is what I want, how to do it?

0 Kudos
Message 1 of 3
(2,670 Views)
Solution
Accepted by topic author QH_Dai

Looks close to a log scale, so by using a log scale and arbitary markers you can get this (here manually rigth click in the xy graph, x-scale ... , but you can use the property nodes to set them in the program

arb makers on log scale.png

 

If you really need a 'arbitary' spacing , apply a custom scale transformation and use text-markers to label them.

 

Something inbetween, use two xy graphs, one log one lin, set the range, make the border transparent and stick them together ....  avoiding the transformation.....

arb makers on log scale and lin scale.png

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


Message 2 of 3
(2,630 Views)

I see, log scale is what I want, tks.

 

0 Kudos
Message 3 of 3
(2,607 Views)