Joke Collection Website - News headlines - After the coordinate system is established in vb, the coordinates (x, y) of a series of points are given. What statement can be used to draw these points onto the coordinate system?
After the coordinate system is established in vb, the coordinates (x, y) of a series of points are given. What statement can be used to draw these points onto the coordinate system?
Add a picture control on the form, set its length and height to the size you need, and then draw the coordinates of your points on it. I will only give an example of three points. For example, you want to connect them in a straight line.
The coordinates of point a (x1, y1), the coordinates of point b (x2, y2), the coordinates of point c (x3, y3), the name of the picture control is pic, then draw:
pic.Line(x1,y1)-(x2,y2), set the color of the line later
pic.Line(x2,y2)-(x3,y3), set the color of the line later
That’s probably it, and so on, give it a try.
- Previous article:Where does Chinese sturgeon purchase in Yunnan Province?
- Next article:Theme class meeting on traffic safety
- Related articles
- Multi-in-one border printing effect
- Obey the traffic rules of handwritten newspaper content.
Remember the traffic rules and have a safe trip, everyone. Doing traffic safety handwritten newspaper can improve students' traffic safet
- Nongfu Spring mineral water: Nongfu Spring, a little sweet.
- Hot Pot Illustration Posters-Do you know these 6 common illustration poster styles?
- A shelter hospital is built around a residential school in Chengdu, Sichuan. Where do you think the shelter hospital is most suitable?
- Hotpot recipe
- How about Green Roast Goose Company?
- Shoe cover promotional slogan
- What activities are there on National Day?
- League construction should promote a win-win situation for the company and employees. Why do young people nowadays dislike league building so much?