VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Plotting graphs using simple VB code

by Hamman Samuel (1 Submission)
Category: Graphics
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

This code is meant for beginners who want to learn how graphs can be plotted using VB code only

Inputs
Equation of the graph will be required in the form of y->x
Assumes
DrawGraph function does all the stuff, you need to call it in an event. Function needs a picturebox (for plotting graph on), a textbox (to enter equation) and script control (provided in the folder, but may need re-referencing, just browse it as ActiveX)
Code Returns
Calculates values of Y based on similated values, which are converted to co-ordinates and then plotted
Side Effects
SpeedMark variable is used to set the quality and speed of plotting. If set too high, the program might appear as if it is hung.

Rate Plotting graphs using simple VB code

Download Plotting graphs using simple VB code

Download Plotting graphs using simple VB code (3 KB)

Plotting graphs using simple VB code Comments

No comments have been posted about Plotting graphs using simple VB code. Why not be the first to post a comment about Plotting graphs using simple VB code.

Post your comment

Subject:
Message:
0/1000 characters