.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


ADVERTISEMENT

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

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

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

Use ZedGraph To Plot A Graph Based On Some Data?

Oct 2, 2009

I'm currently trying to use ZedGraph to plot a graph based on some data I have extracted from a machine, with reference to a user entered "Frequency" range. I has to be a line graph, with Frequency on the X-axis, and extracted data on the Y-axis. There are 4 channels for the machine, but all data values extracted are close to each other, so multiple Y-axes are not needed. I'm also trying to do it within a class, and the graph should only be drawn when I click "Button3", otherwise there would be no data anyway and button2 extracts the data.

Below are my class (the graph code is at the bottom) and form1, which button3 should call the class, but I'm stuck for both the button interfacing and the class writing. I have also attached the output I get so you can have a look at what I need. Open it in Excel to see the format. The whole program is also attached as a text file if you prefer it that way.

[Code]...

View 9 Replies

Game Programming :: Cant Figure Out How To Plot Gps Points In Directx

Mar 10, 2010

i think this is the right place to post this.i am just learning vb and have spent the last week trying to figure out directx. im using visual basic 2008. i have installed directx i got it to render a blank screen but i cant get it to draw anything. what i have is a program that collects gps coordinates and i want to plot them to screen. i got it to work using gdi+ but i wanted a 3d view. i want a view like a tomtom(without Map) and draw a line where i have been.

this is what i have for creating a vector to plot i think it is creating the vector ok. when i stop in debug and mouseover there is data in it (ie x,y,z Coordinates). i think it is drawing i think i just am not "looking at it"

[Code]...

View 1 Replies

Interface And Graphics - Plot Points And Joint The Dots

Dec 12, 2011

Picture 1 shows an application that I am currently writing that uses the LineShape and OvalShape out of the Visual Basic Power Packs. As I change the index in the part number combo box the A, B & C dimension change to suit the dimension in the text boxes.

Problem is the limited shapes are fine to draw a router template guide, but they are somewhat limited when it comes to drawing more complex shapes like the router bits that make the shapes in Picture 2. Is there a graphic class that would allow me to plot points and joint the dots like you get in kids colouring in books? Or something a little more adept to complex shapes like curves?

I just spotted something called the Pen Class that I might need to look more into, but not knowing the first thing about graphics. Spotted some advice passel gave in another thread to search vb.net gdi+ tutorial and it looks like the Pen Class might have potential, although I am going to have to revisit some math by the looks of things.

View 19 Replies

Interface And Graphics :: Plot The Graph From The Serial Port?

Sep 20, 2011

I new in vb .net. Now doing the robot mapping project from the arduino serial port and VB 2010 as a GUI. The serial port can read the text from arduino sensor but how to plot the graph from all the sensor value? So when ultrasonic detect the distance will give the pixel or point. I using the picture box as a background grip map.

[Code]...

View 1 Replies

Plot Graphic While Reading Data From Serial Port

Mar 24, 2012

Currently, I am using a VB.NET to read data from serial port. when i open the serial port, the data is read and plotting the graphic at the same time

View 2 Replies

Read Entire Table Into Array And Plot Rectangle

Jan 30, 2009

I have created several different colored 6 x 9 pixel rectangles (with a white border). I'm placing these rectangles on a large map, based on x y location and color code from a database. As I'm building the database, I occasionally run the program using the Debug in VB Express just to make sure everything is being place in the right location. I started getting an error when my rectangle count got up around 4500.

System.ArgumentException was unhandled
Message="Parameter is not valid."
Source="System.Drawing"

The release .exe works fine with no errors and a count of 6700 ... so far. As it is now it's taking near 60 seconds to place the 6700, and I'll eventually have 10,000 plus. (P4 3.20 GHz - 1 GB Ram). I'm placing each rectangle on the image as I read a row of data. Would it be beneficial to read the entire table into and array and then plot the rectangle?Would I be better off drawing each rectangle as needed or placing a my pre-drawn rectangle ?

View 6 Replies

E.HasMorePages - Written A Function That Will Plot Long Texts Onto Printer And Should Insert A New Page Everytime

Apr 30, 2011

I'm having issues with e.HasMorePages.. I've written a function that will plot long texts onto the printer and should insert a new page everytime yPos > PrintHeight

e.g.

Module Scope var i is the count

PrintPage
if i<=10

[CODE]...

I can certainly add pages from the printpage, but my function will plot characters individually onto the printer and will increase ypos at the end of the printers width.

View 10 Replies

VS 2008 Open A Txt File, Read Line By Line, Decode Each Line Into An Array And Display?

Oct 14, 2011

what i need to do is open a txt file, read line by line, decode each line into an array and display. Now all works ok apart from one line.

sTextLine = objReader.ReadLine() <-- Value of string cannot be converted.

full code here
-------------
Dim objReader As New System.IO.StreamReader(sOpenFile.Text)
Dim sTextLine As New ArrayList()
Dim sText As String = ""
Dim i As Integer = 0

[code]....

View 3 Replies

Read Text From A Listbox Line By Line And Put Current Line In A Label?

Jan 16, 2011

how to read text from a listbox line by line and put current line in a label?

View 3 Replies

Reading A File Line By Line That Within The Line The Values Are Delimited By "?

Dec 1, 2011

How would i go about reading a file Line by Line that within that line The values are delimited by " Example of the data:

"bob" "cat" "1243"
"steve" dog" "6789"

I've started this with this code but not sure how to go about the next stage:

Using MyReader As New _
Microsoft.VisualBasic.FileIO.TextFieldParser(My.Application.Info.DirectoryPath & "Records28112011.jd")
MyReader.TextFieldType = FileIO.FieldType.Delimited

[code]....

View 9 Replies

VS 2008 Reading A TextBox Line By Line And Using SubString On Each Line?

Jul 5, 2010

I am trying to read in a TextBox line by line and take the first 7 characters of each line and output everything in another TextBox.This is what I have so far.

Dim line, lines() As String
lines = TextBox1.Text.Split(Environment.NewLine)
Dim i As Integer = 0

[code].....

View 1 Replies

Create A Graph Where The User Can Input Data Into Textboxes And Then Plot The Data?

Jun 15, 2009

I'm just trying to create a graph where the user can input data into textboxes and then plot the data. I am attempting to use Zedgraph, but open to other suggestions. The program below creates a plot, but it won't update when the textboxes are updated.

Imports ZedGraph
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

[code]....

View 7 Replies







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