I need to draw a scatter plot with the given array of numbers in iPhone. How can I achieve this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You just need to write a method which will returns an object of
(NSNumber *)and takes NSInteger (it will be the index for which you want the value) as parameter. Inside this method you will retrieve the value from a specific index of yourNSMutableArray.Now step number 2) write the method as shown below. By this method the graph will know how many co – ordinates are to be plotted.
Step 3) This is the method to which your graph will look at for plotting a coordinate.