XY Graph Library

Cableguy

Expert
Licensed User
Please be more specific...
What do u mean with xy graph lib?
What should it do, what are u trying to acomplish?
 

Andrew Lindsay

Member
Licensed User
I would like to know if there is a library or component that can be used with B4PPC to create X-Y scatter and line graphs. Ideally it would have autoscaling of the axes. If possible I would like to be able to deal with two or more sets of data with both lines and symbols for the data points.

Regards

Andrew
 

RandomCoder

Well-Known Member
Licensed User
Here's a little graphing app that I helped one of my friends out with.
I think he'll be OK with me posting this as it's still a work in progress at this stage.

The problem originally encountered was that each point was being drawn close together to create the line, this took a significant amount of time.
I lowered the resolution and drew the points apart but then joined the new point to the previous point to create a continuous line.

Here you will see three waveforms created simultaneously.

Regards,
RandomCoder.
 

Attachments

RandomCoder

Well-Known Member
Licensed User
Sorry, the error is related to where I am trying to place the graph labels in relation to the corresponding line.

For this example I have removed that section of code. All works correctly now in the file attached with this reply.
A separate KEY box might work better than trying to draw labels on the graph.

PS. I did say that it was a work in progress ;)

Regards,
RandomCoder.
 

Attachments

Top