Results 1 to 3 of 3

Thread: Equation Plotter

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    London,England
    Posts
    5

    Exclamation

    Hiya people I'm new around here..butI've got a major problem

    I'm doin ccompSi. A-levels and my project is an equation plotter..

    the thing is I'm used to using Quickbasic. and wellI'm plotting graphs using the circle staement which is pretty bad I know but I coul'dnt think of anything else
    anyway this works fine when I'm plotting straight line (y=mx+c) but with quadratic equations it look so crappy and bad...don'tsupposeany1 could help me with this...

    and another thing in QB I used aterm window so I could set my own sort of like frame and well set my own range for x and y.this is useful cuz I can let the user change it..but I don't think it works in VB...Puh-lease any1 with any info I'd love to here it...!!
    Mighty Mo the Bengal Beast from Bangladesh

  2. #2

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    London,England
    Posts
    5
    ok,...I'musing Pset now(don't no why I did'nt think of it earlier)

    but is ther any way to make the bottom left hand corner of the piccture box be (0,0) not the top left
    Mighty Mo the Bengal Beast from Bangladesh

  3. #3
    Frenzied Member
    Join Date
    Jul 1999
    Location
    Huntingdon Valley, PA 19006
    Posts
    1,151

    Try a Sub or Function.

    You could write a Sub or Function which accepted X-Y coordinates relative to an origin at the lower left corner. Internally, the Sub or Function could transform to the VB coordinates relative to the upper left corner.

    I do this all the time, working with a sub which plots points for my mainline, using coordinates whose origin is the center of the a Picture Box.
    Live long & prosper.

    The Dinosaur from prehistoric era prior to computers.

    Eschew obfuscation!
    If a billion people believe a foolish idea, it is still a foolish idea!
    VB.net 2010 Express
    64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width