Archived

This topic is now archived and is closed to further replies.

Help plz..

This topic is 5338 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a picture box, using the PSet ( X, Y) I am usign it to draw points inside the picture box..I know how to do that and I can make it work..Yet ..I want to start my X at like (-30) , howerver the picture box starts showing it when X = 0..How do i change it so that -30, -29, ect will show up..

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
but say im using an equation...something that makes X increase from -30 To 30 and y= X^

So it would be like a quadratic...
Suggestions on how to do that?

Share this post


Link to post
Share on other sites
You could always use constants to define coords or the like

dim xCenter as single
dim yCenter as single

xCenter = pic1.width/2
yCenter = pic1.height/2

xPlot = xCenter + XAxis#
yPlot = yCenter + YAxis#

Share this post


Link to post
Share on other sites