我想使用我的iOS应用程序中的核心图来制作半对数图来显示我的振幅谱数据。但是我不知道怎么做。
有人知道吗?
发布于 2011-08-08 11:32:48
在打印空间上设置比例类型:
CPTXYPlotSpace *plotSpace = (CPTXYPlotSpace *)graph.defaultPlotSpace;
plotSpace.xScaleType = CPTScaleTypeLinear; // this is the default
plotSpace.yScaleType = CPTScaleTypeLog;您可以在Core Plot提供的示例应用程序中查看示例。Mac CPTTestApp中的坐标轴演示使用了对数轴,绘图画廊应用程序也提供了示例。
https://stackoverflow.com/questions/6977197
复制相似问题