VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Plotting graphs using simple VB code

Hamman Samuel  (1 Submission)   Graphics   Beginner   Wed 3rd February 2021

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)

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 (2(2 Vote))

Download Plotting graphs using simple VB code

Plotting graphs using simple VB code Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters