Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

x scale label values in µ seconds ?

Hi

I have an array of 1000 samples that i want to show in a waveformplot.

the samples are taken at a 5 µs interval.

Now the x axis shows a range of 0 to 1000  (this is the number of samples in my array. plotted with waveformGraph1.PlotY(samplearry);

 

I want the axis to show the real range  of 5 ms  lables ( 1000 samples at 5 µs interval). instead of just the sample number. (0..1000) 

 

How do i do that with the waveformplot ?

 

Johan

 

0 Kudos
Message 1 of 2
(3,503 Views)

solved

 

i createted a class inheriting from FormatString where i did override the FormatDouble method.

I think this is the rifgt choice.

 

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