开发者

Drawing a scatterplot with Cocoa

How should I best approach drawing a scatter plot diagram in C开发者_JS百科ocoa?


I believe Core Plot offers scatter plots.


You will probably want to create a custom subclass of NSView and override the drawRect: method.

You can draw primitives using many of NSBezierPath's class methods such as bezierPathWithOvalInRect: and strokeLineFromPoint:toPoint:

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜