简体   繁体   English

在iOS中绘制数学图形的最佳方法是什么?

[英]what is the best way to draw mathematical graphs in ios?

I might think there are some way to draw graphs related mathematics, for example by using quartz, OpenGL ES, cocos2D. 我可能认为有一些方法可以绘制与数学相关的图形,例如通过使用石英,OpenGL ES,cocos2D。 But I am really confusing what is best library and best how for how to implement that in iphone or ipad. 但是我真的混淆了什么是最好的库,以及如何在iphone或ipad中实现它的最好方法。 In addition to, what is the best libray for calculating scientific math. 此外,计算科学数学的最佳方法是什么。

I'm not sure that there is anything out there currently that's dedicated to drawing mathematical graphs, but there are several charting libraries that could display your data nicely. 我不确定目前是否有专门用于绘制数学图形的东西,但是有几个图表库可以很好地显示您的数据。 I think you would have to provide your own data in most cases though. 我认为您在大多数情况下都必须提供自己的数据。

There's a list of charting libraries available here: 这里有可用的图表库列表:

What are the alternatives to Core-Plot for drawing graphs in iPhone SDK iPhone SDK中用于绘制图形的Core-Plot有哪些替代方案

Hope that helps :) 希望有帮助:)

You can use Quartz or OpenGL ES for drawing. 您可以使用Quartz或OpenGL ES进行绘图。 There is a nice demo by apple about "QuartzDemo" for this. 苹果公司为此提供了一个很好的演示有关“ QuartzDemo”的演示。 http://developer.apple.com/library/ios/#samplecode/QuartzDemo/Introduction/Intro.html http://developer.apple.com/library/ios/#samplecode/QuartzDemo/Introduction/Intro.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM