0

I have data for sin curves of differing magnitudes over time and I would like to combine all the curves into a single curve on a chart.

Is it possible to do this with the Google Chart API or can alternative approaches be recommended?

1

1 Answer 1

1

Google's Chart API isn't a graphic calculator. It displays pre-calculated data, not equations. So if you have the results pre-calculated for a series of x-values, then yes, the Chart API can plot it. (If the number of points is < ~5k, a Google Spreadsheet is probably your fastest route to try it out.)

If you don't have the results already calculated - if you just have the equations - then your problem's more of a maths question than a Chart API question. (But again, a spreadsheet might be a fast way to get going.)

1
  • Thanks Kris, that answers my question. I will calculate the points elsewhere and then plot the resulting curve using Google Chart.
    – Mike Poole
    Aug 13, 2011 at 12:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.