开发者

Sample code using Core-Plot for iPhone

I'm trying to find some sample code for Core-Plot on the iPhone. So far, all the examples I've found plot equations such as X^2 or 1/X, etc. over some range. My goal is to find some sample code that just plots two points ((1,2) and (2,3), for example) and connects them with a line.

It seems simple, but I've yet to find out how to approach this. I've checked the Core-Plot Wiki, and am again only able to find more complex examples.

Appreciate any hel开发者_Python百科p, thank you.


Have you looked at the examples included with Core Plot? There's a mix of Mac and iOS apps. Except for the hosting view, the API is identical on both platforms.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜