Discussion:
line in waveform chart or graph
(too old to reply)
muganga
2008-05-15 19:40:05 UTC
Permalink
There are 4 field where the user insert data.
I want use data inserted by user and create a line in a graph or waveform.
Ex. 3000
2000
1500
 
In the graph or waveform ( in the Y axis) I want create a line with the values 3000, 2000, 1500
 
tks 
Beaton
2008-05-15 20:10:04 UTC
Permalink
Do you want a vertical or horizontal line?
muganga
2008-05-15 20:10:04 UTC
Permalink
Both..vertical and horizontal...
 
Many thanks
Ben
2008-05-15 20:10:05 UTC
Permalink
In the case of a graph you can add cursors who's line styles have both horiz and vert lines.
Cursors are not availabe on Charts (sorry).
Ben
muganga
2008-05-16 10:40:05 UTC
Permalink
MikeS81
But what about the datas from my sensor? How plot the values coming from the sensor? Is the number 85 a vertical line?
Tks
MikeS81
2008-05-16 10:40:05 UTC
Permalink
Hi muganga,
no this are all horizontal lines. Did you think about an x-y-graph?
Mike
muganga
2008-05-16 10:40:06 UTC
Permalink
Yes, I was thinking about x-y graph coz as Ben sugest in his post, graph we can use cursor.
 
Many thanks
Beaton
2008-05-15 20:10:05 UTC
Permalink
an example or picture of what you are trying to do exactly would help. Or just go with the cursor idea, that would work just fine.
muganga
2008-05-15 20:40:05 UTC
Permalink
Follow attached what I trying to do.
Remember that 3000, 2000, 1000 and 85 are data entered by user.
 
Tks
 
 


graph.GIF:
Loading Image...
MikeS81
2008-05-15 20:40:05 UTC
Permalink
Hi muganga, you can write it as values into your graph. see the attached picture for an example.Mike


Unbenannt1.PNG:
Loading Image...
golubovski
2008-05-16 11:10:04 UTC
Permalink
Hello, Both horisontal and vertical can be applied by adding additional arrays to the graphHorisontal are constants (arrays with same elements).Vertcal are arrays with "-infinity"s before the leap, than "+infinities".This works!
muganga
2008-05-16 11:40:05 UTC
Permalink
what I expect is:


graph1.GIF:
Loading Image...
golubovski
2008-05-16 11:40:05 UTC
Permalink
Exactly! Just initialize arrays with size the length of the graphing array and elements all=3000/2000/1500! They will show up immediately, just check their colors
muganga
2008-05-19 15:10:06 UTC
Permalink
How can I display 0,0 in the graph?
 
Tks
 
Muganga
 
 
 
 


graph2.GIF:
Loading Image...
golubovski
2008-05-19 21:10:08 UTC
Permalink
turn off the auto-scaling, or play with scales through with corresponding properties
muganga
2008-05-26 16:40:05 UTC
Permalink
How can I divide axis X in equal parts. I mean, in axis X I have 0, 1 and 2. I want is 0, 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4, 1.6, 1.8, 2 
Follow attached drawing I would like to have.
 
Tks
 
 
muganga
2008-05-26 16:40:05 UTC
Permalink
How can I divide axis X in equal parts. I mean, in axis X I have 0, 1 and 2. I want to divide in  0, 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4, 1.6, 1.8, 2 
Follow attached drawing I would like to have.
 
Tks
 
 


scale.GIF:
Loading Image...

Continue reading on narkive:
Loading...