Drawing a graph & testing ranges
Drawing a graph & testing ranges
- Subject: Drawing a graph & testing ranges
- From: Mark Bateman <email@hidden>
- Date: Tue, 15 Sep 2009 08:07:19 -0400
Hi,
I have a completed app that calculates graph points x and y
coordinates. I want to present these on a graph that has an
acceptable "envelope" of coordinates.
I'm guessing that i need to learn how to use quartz to draw lines
pixel by pixel to represent this on a UIview. is there any easier /
better way to do this that I have overlooked.... i did look at
providing a uiview background preformattted with the graph but i
haven't found a tool that will allow me to draw that accurately.
Also can is use the NSrange objects to check if a certain set of
coordinates is inside a particular envelope.
That is,
if I have a value of x= 10,000 y = 211.2 and an envelope
of 9500, 200: 13000, 211: 14000,214: 9500,214 can i use
NS range to check if the original coordinates are inside the bounds
of that rectangle...
if not any ideas how i might do that...
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden