开发者

Combining Sin Curves on Google Line Chart

开发者 https://www.devze.com 2023-03-27 06:18 出处:网络
I have data for sin curves of differing magnitud开发者_如何学Pythones over time and I would like to combine all the curves into a single curve on a chart.

I have data for sin curves of differing magnitud开发者_如何学Pythones 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?


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.)

0

精彩评论

暂无评论...
验证码 换一张
取 消