# How to do cartesian plane

Page 1 of 1

## 1 Replies - 1237 Views - Last Post: 11 August 2013 - 08:45 AMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'http://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=326830&amp;s=1f3c5454e52184472d59d36fa661e228&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #1 sigfrid

Reputation: 0
• Posts: 20
• Joined: 04-October 10

# How to do cartesian plane

Posted 11 August 2013 - 08:07 AM

Hi, I just would like to ask how to do a cartesian plane in vb6. I really don't have any idea even how to start it.
My problem actually is to make a program for the closest pair algorithm. I already made the part of the program where I calculate for the closest pair. What I don't know is how to plot it. I need to show it in the cartesian plane.

Is there anyone who know how?
Can you give an example? Even a simple one, I can take it from there. I'll just study it.

Thanks..

Is This A Good Question/Topic? 0

## Replies To: How to do cartesian plane

### #2 andrewsw

• blow up my boots

Reputation: 6541
• Posts: 26,470
• Joined: 12-December 12

## Re: How to do cartesian plane

Posted 11 August 2013 - 08:45 AM

To quote from maj3091 in this thread:

Quote

I'm not that familiar with the MSChart control, but with a couple of minutes playing this morning, I was able to configure the control to display a cartesian coordinate system for a XY scatter graph.

If you add a Chart Control to a form and set the chart type to "16-2dXY" and then select the Custom button from the properties, you will see a tabbed form. Select the Axis tab. In there you can select the X and Y axis separately. In the Axis Scaling panel, if you uncheck the "Automatic Scaling" option, you can define your own Min and Max limits of the chart. If you put in MIN values less than 0 for both x and y axis, your cartesian plane can be seen.

I would assume that plotting data to the graph is the same as for the other example I post in the previous post.

You might have a look through the Tutorials section as well; click the Tutorials link at the top of this page. Or.. Googling.