gujjula / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

CPXYPlotSpace - CPScaleType #263

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, I'm using the last version of Core-Plot. 
For a graph I would like to use a log scale. Apparently it is possible to 
change the scale by doing something like that: 

CPXYPlotSpace *plotSpace = (CPXYPlotSpace*) graph.defaultPlotSpace;
[plotSpace setXScaleType:CPScaleTypeLog10];

in order to have the log scale.

However when I do that I have a message: 
Scale type not supported in CPXYPlotSpace

Whereas it is in the documentation. 
Is there a reason for that? How can I get the log scale? 

Thank you very much.

Original issue reported on code.google.com by polo.usa...@gmail.com on 4 Mar 2011 at 4:59

GoogleCodeExporter commented 9 years ago
The logarithmic axis labeling policy also needs to be implemented. This should 
be done at the same time the plot space support for logarithmic scales.

Original comment by eskr...@mac.com on 13 Mar 2011 at 1:10

GoogleCodeExporter commented 9 years ago
Hi, is there any timeframe for this implementation? I have a project and need 
to use logarithmic scale.
tks, Cassio

Original comment by rossi.ca...@gmail.com on 31 Mar 2011 at 12:57

GoogleCodeExporter commented 9 years ago
No time scale at the moment. It should not be too difficult to do. It is just a 
question of implementing the various conversions, from view coordinates, to 
plot coordinates. You probably don't need to know Core Plot well to do it. Just 
look at how the linear scale is handled, and make a second branch for log 
scales.

Original comment by drewmcco...@mac.com on 31 Mar 2011 at 7:37

GoogleCodeExporter commented 9 years ago
Anyone working on this? Im a quite new to cocoa so i dont feel competent trying 
to do this myself but im working on a project where i need to draw spectrum 
graphs for audio.

Original comment by jo...@meck.se on 28 Apr 2011 at 6:03

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 6187bf9d07e6.

Original comment by eskr...@mac.com on 29 May 2011 at 2:52