Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill area between scatter plots. #99

Open
romahuti2 opened this issue Aug 5, 2014 · 2 comments
Open

Fill area between scatter plots. #99

romahuti2 opened this issue Aug 5, 2014 · 2 comments

Comments

@romahuti2
Copy link

I need to make graphic similar to that one on image on iOS. I had 3 ideas - build scatterplots and fill area between them - it's impossible, build one scatterplot that is 'closed figure' and fill it - it's impossible, build rangeplots - all is ok, i can fill them, but they have no interpolation. Maybe there is another opportunity to do it, please help. Thx

growth-chart-2

@eskroch eskroch changed the title Fill area between scater plots. Fill area between scatter plots. Aug 5, 2014
@eskroch
Copy link
Member

eskroch commented Aug 5, 2014

Possible duplicate of issue #13.

@swainwri
Copy link

I required error bands on either side of a scatterplot. My solution was to create a CPTPlotSpaceAnnotation, using 2 clear coloured scatterplots which follow the outside of these bands,ie data relative to the actual scatterplot. From the newDataLinePath of the 2 Scatterplots, one can generate an image to include in a CPTPlotSpaceAnnotation. One uses CPTPlotDelegate: func didFinishDrawing(_ plot: CPTPlot) {} and collects the updated CGPaths through a couple of cycles before being able to create this image the size of graph.bounds, add/remove annotation to plotArea.
Polar Plot_0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants