Plotting multiple points on a triangle

smagnotta

New member
Local time
Today, 07:44
Joined
Mar 1, 2006
Messages
8
Hi all,

I am trying to come up with a way to plot points on a picture say a triangle. I have unsuccessfully tried to use an image for a triangle and an image for a point (plotting the point image around the triangle image). I have also tried to use the triangle picture as the background in Microsoft Graph. Both ideas are difficult to implement because I am dealing with an x,y,z triangle not the usual x,y Cartesian coordinate system.

Is there an easy way to do this task? The triangle is a "soil textural triangle" (google that if need be). The point is the intersection among the 3 axes.
 
I am not keen on designing graphics with VBA nor am I an expert in
but look what would I try if I were you.
I would place the point to the willing starting location and then get its x,y position.
The simplest way is by depecting those values to a msgbox.
Having that location its easy to find every other x,y point using your equations
which define your triangle and the appropriate conversion between your units and vba units
 
Plot points

OK I used the Image Control for both the point and the triangle and can plot one point on the triangle. How can I create multiple points and plot them on the triangle? I tried to use Dim x(100) as Image but what do I do as far as the Set statement?

I have a point image called ImgPoint (ImageControl) on the form. How can I copy this image over and over and then plot points?
 

Users who are viewing this thread

Back
Top Bottom