Jump to content

Producing a graph


star

Recommended Posts

QUOTE (star @ Feb 27 2009, 04:32 AM)

The reason why I want to make a graph is because I am reading some values for a text file and then place the values on the graph. The x-axis is the number of items in the file and y-axis are the values. I made a code that reads from a text file and I have attached it below.

We don't know what your output string looks like, but essentially you need to convert your data to an array of numbers and pass that into your graph. Because your x-axis is just a count of data points you'll be better off using a waveform graph instead of an XY Graph. Look at the help for graphs for more info.

Link to comment

QUOTE (TobyD @ Feb 27 2009, 03:13 PM)

We don't know what your output string looks like, but essentially you need to convert your data to an array of numbers and pass that into your graph. Because your x-axis is just a count of data points you'll be better off using a waveform graph instead of an XY Graph. Look at the help for graphs for more info.

Now you can see what my output string looks like and i look at some waveform graph instead of an XY Graph and i still couldn't do it.

Thanks for your reply

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.