Click here to Skip to main content
15,897,315 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Useless subject Pin
Guffa31-Jan-07 6:07
Guffa31-Jan-07 6:07 
GeneralRe: Useless subject Pin
Ahmed El-Badry31-Jan-07 9:31
Ahmed El-Badry31-Jan-07 9:31 
QuestionHow do you adjust graph Axes? Pin
KojoAmuel31-Jan-07 3:05
KojoAmuel31-Jan-07 3:05 
AnswerRe: How do you adjust graph Axes? Pin
CPallini31-Jan-07 7:47
mveCPallini31-Jan-07 7:47 
GeneralRe: How do you adjust graph Axes? Pin
KojoAmuel31-Jan-07 8:04
KojoAmuel31-Jan-07 8:04 
GeneralRe: How do you adjust graph Axes? Pin
CPallini31-Jan-07 9:02
mveCPallini31-Jan-07 9:02 
GeneralRe: How do you adjust graph Axes? Pin
KojoAmuel31-Jan-07 9:23
KojoAmuel31-Jan-07 9:23 
GeneralRe: How do you adjust graph Axes? Pin
CPallini31-Jan-07 11:03
mveCPallini31-Jan-07 11:03 
KojoAmuel wrote:
I did mean to say 0.20 < (Y-Voltage(I)) < 0.45


OK, so you can do:
For I = 1 To 1024
  xOne = I
  yOne = (Y - Voltage(I)-0.20) * 150/(0.45-0.20) + 75
  WavGraph.CreateGraphics.DrawLine(penColor, xTwo, yTwo, xOne, yOne)
  xTwo = xOne
  yTwo = yOne
Next I


supposing you have a 150 pixel height area, such code will use all of it.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

GeneralRe: How do you adjust graph Axes? Pin
KojoAmuel1-Feb-07 2:37
KojoAmuel1-Feb-07 2:37 
QuestionUrgent Free Hand Drawing - Modified Pin
TheApocalypse31-Jan-07 2:41
TheApocalypse31-Jan-07 2:41 
AnswerRe: Urgent Free Hand Drawing - Modified Pin
xstoneheartx31-Jan-07 6:36
xstoneheartx31-Jan-07 6:36 
AnswerRe: Urgent Free Hand Drawing - Modified Pin
Christian Graus31-Jan-07 8:49
protectorChristian Graus31-Jan-07 8:49 
QuestionWhat's wrong in my code? Pin
.NetRams31-Jan-07 1:32
.NetRams31-Jan-07 1:32 
AnswerRe: What's wrong in my code? Pin
Dave Sexton31-Jan-07 3:21
Dave Sexton31-Jan-07 3:21 
GeneralRe: What's wrong in my code? Pin
Guffa31-Jan-07 5:59
Guffa31-Jan-07 5:59 
AnswerRe: What's wrong in my code? Pin
Christian Graus31-Jan-07 9:19
protectorChristian Graus31-Jan-07 9:19 
GeneralRe: What's wrong in my code? Pin
.NetRams31-Jan-07 17:08
.NetRams31-Jan-07 17:08 
AnswerRe: What's wrong in my code? Pin
TwoFaced31-Jan-07 18:45
TwoFaced31-Jan-07 18:45 
Questionreal time graphics in VB.net from serial port Pin
2of10031-Jan-07 0:50
2of10031-Jan-07 0:50 
AnswerRe: real time graphics in VB.net from serial port Pin
Johan Hakkesteegt1-Feb-07 2:47
Johan Hakkesteegt1-Feb-07 2:47 
QuestionHow to enable users to draw line on windows form vb.net? Pin
.NetRams31-Jan-07 0:11
.NetRams31-Jan-07 0:11 
AnswerRe: How to enable users to draw line on windows form vb.net? Pin
Christian Graus31-Jan-07 0:23
protectorChristian Graus31-Jan-07 0:23 
Question.Net Framework Pin
Manas'30-Jan-07 23:51
Manas'30-Jan-07 23:51 
AnswerRe: .Net Framework Pin
Meg W31-Jan-07 2:09
Meg W31-Jan-07 2:09 
Question[Message Deleted] Pin
TheApocalypse30-Jan-07 23:25
TheApocalypse30-Jan-07 23:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.