Move A Line Across An X-Y Plot

Jun 7, 2009

If I have an X-Y plot on a graphics and I also create a verticle line on the same graphics. I want to move the line cross the X-Y plot without disturbing this X-Y plot.

View 7 Replies


ADVERTISEMENT

.NET : Chartarea 2D Line Plot?

Feb 2, 2012

I have a chartarea, which take too long to print the data when the count is over 100,000 points. is there a better way to show my data in a graph that is faster?

View 2 Replies

C# - Plot The Graph(line) From A File In Java?

Mar 6, 2010

I have a directory containing list of files.

Those files have some list of values as x and y ordered as line by line.

And my question is just I would like to read those files one by one and to plot line graphs based on those values.

View 1 Replies

VS 2008 : Microsecond Timer To Plot Points On Line?

Feb 27, 2012

A couple of options seem to be available to achieve better accuracy and shorter periods than the Timer control in VB allows, however they too seem to have their own unique drawbacks. I am trying to plot (draw) points that are calculated in my VB application and then represent them in real time with an accuracy of a couple percent. If VB can calculate the points in the microsecond time range, would it be reasonable to hang an external pulse source on a usb port and use the "Datachanged" event to count the pulses that will be summed and used to plot the points?Ultimately, this is a machine control application that requires "reasonably precise" timing - ie. CNC type control. The points are scaled and drawn and then step and direction signals are sent out through another USB port.

View 2 Replies

Move To The Next Line?

Oct 7, 2008

After my program enters a string in my multiline text box, how do I move to the next line??

I've looked around the forums but cannot find the answer??

The current Method I use is the textbox1.append, but I need to move to the next line rather than keep adding to the current line?

View 5 Replies

Move Line In Array?

Jan 26, 2011

Is there a way to move a entire row from one array to another array, without having to move it cell by cell? Assuming that the row length in both arrays is the same.

View 1 Replies

Move Mouse In A Line?

Jul 11, 2009

Through the years i have been programming i have found myself needing to move the mouse in a line. making the mouse move from one point to another is no problem at all, but i want to make the mouse move slowly in a straight line from one point to another.

[code]...

View 1 Replies

Move To Next Line In Listview?

Feb 20, 2010

How do I proceed to the next line in list view?[code]...

View 12 Replies

Move To The Next Line In The Txt File?

Jan 25, 2011

I have a text that has a question followed by four possible answers. At the start, it loads up line 1 of the text file and puts the sentence fragments into their proper place (text.split is being used). I want to be able to have a click button event that then reads the second line and replaces the first line's sentence with its own. Click the button again, it goes to the third line.

This is what I've created. It reads the first line (But honestly, I think it reads the entire thing and the first line is the only thing that can fit in the selected spots). It then splits the first line into fragments, moving them to certain areas of the form. Question goes to the Question label, answers go to the selected button.

HTML

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim readText As String = ("C: est.txt")
Dim textParser As New TextBox

[Code]....

So, like I said, what would make it possible for me to create a button event that when I click on it, it moves to the next line in the txt file?

View 7 Replies

Move A Horizontal Line On Form?

Jul 7, 2010

i want to display a moving horizontal line on Form

like y=1

then at next instance

y=2 and so on till y=480

i am to stop that line at any instanse by click.i'm using vb.net.

View 2 Replies

Move To First Cell Of New Line In Gridview?

Dec 23, 2010

I have a gridview "Me.Mydata_tableDataGridView". When i hit enter on the last record I want the cursor to move to the first cell of the new line. At the moment, if i am editing column 2 and hit enter the cursor moves to colum 2 of the newly created[code]...

View 1 Replies

VS 2005 : Move A Line On Graph?

Sep 12, 2009

trying to move a line on a graph (to a new calculated value)This is as far as I can get:

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim label5 As Double
y = 310

[code].....

This does not work?

View 7 Replies

Functions To Draw Line Or Move To Points

Jul 19, 2009

Currently there are functions to draw line or move to points, commonly known as LineTo(x,y) of MoveTo(x,y). I am wondering if there is also a LineTO or MoveTo function(s) for 3D, i.e. LineTo(x,y,z) or MoveTo(x,y,z).

View 1 Replies

When Press 'ENTER' To Move To New Line Counter +1

Apr 1, 2012

I use RichTextBox in project ,I want add counter ,when I press "ENTER" to move to new line this counter +1.

View 8 Replies

Make A Text To Move On A Straight Line Continuously?

May 29, 2012

I use this cod but it not moving the text contnusly Private sub Timer1............ Label1.text = " " & Label1.text

View 1 Replies

Move Cursor Focus In Multi Line Textbox

Apr 3, 2009

Is it possible to move the cursor position in a multi line textbox? Here's an example; I have a form with a multi line textbox and a button. The button inserts several lines of [Code] How could I make the cursor go to the blank line between the parenthesis? [Code]

View 4 Replies

Charting - Plot Data Using The First Value

Nov 29, 2011

I have been learning and developing a software using VB for my company. I seem to have some issues with Chart function. [Code] Those 2 points will plot 2 datas (xval, finvall) & (xval, finvall2). Here is the thing. When I do the plotting, the starting points are always at (0, 0). That points come from the data point collector editor in the series properties. The question is: How do I plot data using the first value that I have? I don't want to start at (0, 0) but instead using (xval, finvall) & (xval, finvall2). I can't change the data point at run time. Many thanks!

View 6 Replies

Picture Box To Plot Graph?

Nov 18, 2010

points on picture box by several mouse down operation, perform either linear regression for best fit straight line for these points or best fit circular curve fitting for these points.User can use radio button to select either straight line or circular curve fitting. Plot the best fit graphic accordingly and save these graphic to a data file (result.txt).

View 5 Replies

Create A Scatter Plot With 2 1-D Arrays?

Mar 4, 2011

my only objective is to create a scatter plot with only x and y axes. the data source should be from a 1 dimensional array. say i have these arrays:

[Code]...

View 2 Replies

How To Plot A Double Variable Function

Mar 14, 2012

I'm currently working on an assignment for university and I could really use a hand.I need to plot the equation y=0.2*sqrt(1-(0.25/x)^2)

View 5 Replies

How To Plot Graphs Using MS Chart Control

Jan 7, 2010

I'm trying to plot a graph in VB.Net, using MS Chart Control. I'm receiving streaming data, distance vs X data (Sine wave) and Z data (Cosine wave) every 1 msec. maximum data points varies from 2000 to 5000. I would like to plot this streaming data on a graph, distance on x-axis and two series X data and Z data on Y axix.

View 3 Replies

Interface And Graphics :: 3D Plot And Rotating?

Jun 18, 2009

I'd like to be able to graphically represent a position in a 3D graph and be able to rotate the grid to match a certain perspective. I've looked for tutorials online, but they all mention how to import or create common file types. I don't want or need to do this. I just need to know where to begin. I have the DirectX SDK, but I'm not sure where to start with it and need some direction.

View 1 Replies

VS 2005 Plot A Excel Graph By Vb?

Jul 24, 2009

i am a newbie to visual basic 2005. i have a excel file contain x value and y value of points.i wan to plot a graph using these few points.after that display the graph in the vb.How can i do that??

View 2 Replies

XYZ Plot 3-D Series Plotting Like Matlab?

May 3, 2012

i need to plot a 3D series of x,y,z coordinate in VB. I have search for hours on this matter but I can't seemed to find the answer.

The image above shows an example the kind of plot i am interested in.

View 5 Replies

Zedgraph - Y2 Axis Curves Won't Plot

Jul 25, 2010

I have followed a tutorial from Zedgraph's wiki but I still seem to be having issues. When I run the code below, only the 3 curves on the Y Axis plot. I know the datasource is correct from which the 4 curves on the second Y axis are being created, because I have checked the table after creation. For some reason, however, the curves do not show up and the Y2 Axis does not change its scale to reflect any new curves. Does anyone see what I'm missing here?

[Code]...

View 1 Replies

Generate A Real Time 2D Plot With Autoscaling?

Oct 27, 2010

I have finally made the switch VB.net and I am using VS2010 .NET 4.0 with WinForms. I want to generate a real time 2D plot with autoscaling and update the graphics/picturebox/form/<insert control here> from another thread so when I click a menu the device doesn't halt. The graphics are intensive in that a function is continually reading from hardware and drawing the data. I have been able to do this in VB6 (minus the multithreading) with GDI API and it ran great. Now in VB.NET GDI+ is used which is extremely slow. So my questions are as follows:

1) Should I go back to GDI commands or will this be outdated soon.

2) Should I use Direct2D, if so do I need to switch to WPF and are there any WinForm examples

3) Best approach to multithread this, if I double buffer can I have the GUI thread periodically read the buffer and display it. How can I tell the drawing thread to post an update and the UI thread displays it when it has the chance, similar to using InvalidateRect()

View 1 Replies

How To Plot Multiple Series On One Chart At Runtime

Mar 4, 2012

How do I plot multiple series (say about a thousand) on one chart at runtime?

View 7 Replies

Plot A Graph From Values Calculated From A Database?

Apr 19, 2011

ive been struggling on this portion of my code for almost 3 days with no luck. i have a database containing a list of transactions (in this case, the product name, quantity and date of sale). I want to plot a graph for each product showing the amount sold each month for the past 12 months. The functions to calculate these values are working fine. but my problem is this:

each tab page is named after the product name:

TabControl_SaleOfProducts.TabPages.Add(
"TabPage_"
& ProductName, Item)

and then to this tab page i want to add the graph. but i cannot reference the newly created tab page?

View 2 Replies

Plot Serial Data In Separate Thread?

Dec 29, 2011

my application receive data from serial port and store it in ConcurrentQuequeFor not lost any data from serial port I need to plot it in a separate theadin SummaryForm Load = set all parameter of ZedGraphPulsante Start = Open serial Port and start Thead

View 5 Replies

Take A MP3 Or WAV File And Plot A Graph Of Its Waveform Over Time?

Dec 9, 2009

I need to be able to take an MP3 or WAV file and plot a graph of its waveform over time. Prefferably without playing it first. The representation doesn't have to be amazingly accurate as it's not for EQ purposes. I just need to pinpoint certain points in the MP3 / WAV when specific music / sounds etc occur (similar to the display in Windows Sound Recorder).

how I can go about that, or if it's even possible in VB 2005?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved