Results 1 to 11 of 11

Thread: graphing question

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2005
    Posts
    27

    Smile graphing question

    hi guys, i have made the basis of my calculator with the help of u guys but i have to move on to the basis of my calculator, the graphs. i no i need to rearrange a form with a new scale, but i have no clue on how to actually make a graph. i plan to make graphs on:
    1. y=x^2
    2. y= sqr(x)
    3. y=|x| (absolute value)
    4. x^2 + y^2 = 1 (circle with 1 radius)

    i have a feeling i need to use arrays to draw a series of dots, but i have no idea on how to get through this. ne1 with ne suggestions is greatly appreciated. THANKS!! :mike:

  2. #2
    Fanatic Member Armbruster's Avatar
    Join Date
    Sep 2002
    Location
    Maryland Heights, MO
    Posts
    857

    Re: graphing question

    Here is an example to get you started . . .
    Attached Files Attached Files
    "Look! Up in the sky! It's a bird! It's a plane! It's Diaper-Head Boy! (there by my name!) Yes, Diaper-Head Boy, who disguised as my son, Seth, fights a never-ending battle for truth, justice and terrorizing my house!

    Resistance is futile, you will be compiled . . . Please!

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2005
    Posts
    27

    Re: graphing question

    THANK YOU SO MUCH!!! ill look over this, see if i can understand wat u r doin and try it out. thanks a lot again!!

    U GUYS RULE!!

  4. #4
    Member
    Join Date
    Jan 2005
    Posts
    53

    Re: graphing question

    Besides suggestion made by Armbruster, you can consider the use of MSChart Component. There are plenty of examples available from world wide web.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jan 2005
    Posts
    27

    Re: graphing question

    so wat is that, like a program or a component of VB. do i need to dload nething?

  6. #6
    Junior Member
    Join Date
    Jan 2005
    Posts
    21

    Talking Re: graphing question

    why don't you do your home work and then may be if you have a problem you can come here. DONT JUST COPY PEOPLES PROGRAMS. THIS IS A PROJECT. DONT USE PEOPLES STUFF.

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: graphing question

    Quote Originally Posted by krishna830
    so wat is that, like a program or a component of VB. do i need to dload nething?
    It is a standard VB component that you can find on the components list.

    Goggle Search On MsChart

  8. #8

    Thread Starter
    Junior Member
    Join Date
    Jan 2005
    Posts
    27

    Re: graphing question

    maybe u shud stop meddling in other ppls business. i came here asking for help and i happened to get a very nice example. i have used it as reference. i needed a head start, not a copying tool. y dont u think before u type alright.

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Jan 2005
    Posts
    27

    Re: graphing question

    how wud u make sin, cos and tan graphs? wud i have to make many semi circkes, or is there another easier way. thanks

  10. #10
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: graphing question

    sine and cosine can be used to make circles, but vb has circles built in. google sine and cosine, and I'm sure you will find lots of examples. if you have something specific, post the question. functions aren't hard to graph.

  11. #11
    Fanatic Member Armbruster's Avatar
    Join Date
    Sep 2002
    Location
    Maryland Heights, MO
    Posts
    857

    Re: graphing question

    krishna830, just write the functions in VB as you would if you were writing them on paper . . . I added a couple more examples for you. It really isn't that hard. Just give it a shot and post a question if you run into any problems.
    Attached Files Attached Files
    "Look! Up in the sky! It's a bird! It's a plane! It's Diaper-Head Boy! (there by my name!) Yes, Diaper-Head Boy, who disguised as my son, Seth, fights a never-ending battle for truth, justice and terrorizing my house!

    Resistance is futile, you will be compiled . . . Please!

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