开发者

Drawing a scatterplot with Cocoa

开发者 https://www.devze.com 2022-12-22 11:49 出处:网络
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 d

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

精彩评论

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

关注公众号