• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Drawing a graph & testing ranges
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawing a graph & testing ranges


  • Subject: Drawing a graph & testing ranges
  • From: Mark Bateman <email@hidden>
  • Date: Sat, 29 Aug 2009 21:26:20 -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


  • Prev by Date: re: CoreData: Using to-may relationships in fetch request predicates
  • Next by Date: Re: Standard Alert Note/Warning/Stop icon NSImage Names?
  • Previous by thread: re: Curious about $SUBST_VARS within a SUBQUERY of a fetch request template
  • Next by thread: TAB bar and nav bar together
  • Index(es):
    • Date
    • Thread