You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(9) |
Nov
(24) |
Dec
(19) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(22) |
Feb
(5) |
Mar
(10) |
Apr
(12) |
May
(6) |
Jun
(3) |
Jul
(6) |
Aug
(7) |
Sep
(1) |
Oct
(3) |
Nov
(4) |
Dec
(1) |
2008 |
Jan
|
Feb
(4) |
Mar
(6) |
Apr
(10) |
May
(2) |
Jun
(4) |
Jul
(15) |
Aug
(11) |
Sep
(3) |
Oct
|
Nov
(9) |
Dec
(11) |
2009 |
Jan
(6) |
Feb
(9) |
Mar
(24) |
Apr
(4) |
May
(7) |
Jun
(1) |
Jul
|
Aug
|
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
(10) |
2010 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(8) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
(6) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jamie M. <ja...@sc...> - 2010-03-13 14:29:34
|
Hi Will, Can you post your error so we can look into it? Have not tried 2010 but 2008 should work... Jamie Jamie McQuay Scimatic Software We build software for scientists. On Mar 12, 2010, at 9:12 PM, Will Pittenger <wi...@mt...> wrote: > I like the concept for my app and wanted to try it out, but if it > won't compile and you won't provide a pre-built DLL, I may look > elsewhere. > --- > --------------------------------------------------------------------- > Will Pittenger > --- > --------------------------------------------------------------------- > My e-mail addresses: MTCO (preferred) <mailto:wi...@mt...> or > GMail <mailto:wil...@gm...> > --- > --------------------------------------------------------------------- > Me on the web: > > * Wikipedia <http://en.wikipedia.org/wiki/User:Will_Pittenger> > * The Christian Music Wiki > <http://christianmusic.wikia.com/wiki/User:Will_Pittenger> > * WLP's Google Earth Stuff and Maps---A site a run with maps that I > publish to Wikimedia Commons and Google Earth KML files. > <http://wlps-ge-stuff.ucoz.com/> > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nplot-devel mailing list > Npl...@li... > https://lists.sourceforge.net/lists/listinfo/nplot-devel |
From: Will P. <wi...@mt...> - 2010-03-13 02:32:26
|
I like the concept for my app and wanted to try it out, but if it won't compile and you won't provide a pre-built DLL, I may look elsewhere. ------------------------------------------------------------------------ Will Pittenger ------------------------------------------------------------------------ My e-mail addresses: MTCO (preferred) <mailto:wi...@mt...> or GMail <mailto:wil...@gm...> ------------------------------------------------------------------------ Me on the web: * Wikipedia <http://en.wikipedia.org/wiki/User:Will_Pittenger> * The Christian Music Wiki <http://christianmusic.wikia.com/wiki/User:Will_Pittenger> * WLP's Google Earth Stuff and Maps---A site a run with maps that I publish to Wikimedia Commons and Google Earth KML files. <http://wlps-ge-stuff.ucoz.com/> |
From: Aalhad D. <aal...@gm...> - 2010-01-08 19:42:19
|
Dear Nplot Users, I am looking for a feature to Select a line plot and Highlight it by simply clicking on the plot surface and on the particular line plot. Is this currently possible? If so could someone kindly give me a sample code example? Thank you Sincerely Aalhad |
From: <jam...@us...> - 2009-12-28 15:30:02
|
Revision: 34 http://nplot.svn.sourceforge.net/nplot/?rev=34&view=rev Author: jamcquay Date: 2009-12-28 15:29:51 +0000 (Mon, 28 Dec 2009) Log Message: ----------- Changed company name Modified Paths: -------------- trunk/NPlot.csproj Modified: trunk/NPlot.csproj =================================================================== --- trunk/NPlot.csproj 2009-12-18 22:38:20 UTC (rev 33) +++ trunk/NPlot.csproj 2009-12-28 15:29:51 UTC (rev 34) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <ProjectType>Local</ProjectType> <ProductVersion>8.0.50727</ProductVersion> @@ -24,6 +24,11 @@ <WarningLevel>4</WarningLevel> <ErrorReport>prompt</ErrorReport> <BaseFX1_1OutputPath>bin\net\1.1\</BaseFX1_1OutputPath> + <FileUpgradeFlags> + </FileUpgradeFlags> + <OldToolsVersion>2.0</OldToolsVersion> + <UpgradeBackupLocation> + </UpgradeBackupLocation> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <OutputPath>bin\net\2.0\debug\</OutputPath> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: SourceForge.net <no...@so...> - 2009-12-22 18:00:14
|
Bugs item #2919495, was opened at 2009-12-22 18:00 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2919495&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: 0.9.10.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: cookieless Initial Comment: In the web.config of ASP Web Applicaion project, if I set <sessionState cookieless="true" />, then NPlot.Web.PlotSurface2D just show a red "X" on the page. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2919495&group_id=161868 |
From: SourceForge.net <no...@so...> - 2009-12-18 22:41:34
|
Bugs item #2727484, was opened at 2009-04-02 19:28 Message generated for change (Settings changed) made by jamcquay You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2727484&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: None >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: FC Initial Comment: FC ---------------------------------------------------------------------- >Comment By: Jamie McQuay (jamcquay) Date: 2009-12-18 17:41 Message: this is empty ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2727484&group_id=161868 |
From: SourceForge.net <no...@so...> - 2009-12-18 22:39:57
|
Bugs item #1630597, was opened at 2007-01-08 08:42 Message generated for change (Comment added) made by jamcquay You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1630597&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: 0.9.9.2 >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Jamie McQuay (jamcquay) Summary: Overflow error when zooming to much Initial Comment: When you zoom in too much, you end up with a Overflow exception. Just open a graph with zoom enabled. Drag a box from left to right, and the height as small as posible - repeat until error. Stack-trace: at System.Drawing.Graphics.CheckErrorStatus(Int32 status) at System.Drawing.Graphics.FillPolygon(Brush brush, PointF[] points, FillMode fillMode) at System.Drawing.Graphics.FillPolygon(Brush brush, PointF[] points) at NPlot.FilledRegion.Draw(Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis) at NPlot.PlotSurface2D.Draw(Graphics g, Rectangle bounds) at NPlot.Windows.PlotSurface2D.Draw(Graphics g, Rectangle bounds) at NPlot.Windows.PlotSurface2D.DoPaint(PaintEventArgs pe, Int32 width, Int32 height) at NPlot.Windows.PlotSurface2D.OnPaint(PaintEventArgs pe) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ---------------------------------------------------------------------- >Comment By: Jamie McQuay (jamcquay) Date: 2009-12-18 17:39 Message: Zoom interaction was crashing when zooming in multiple times... Now checking if the graphics extends before allowing the update ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-07-17 09:17 Message: Logged In: NO Handle the PlotSurface2D.PreRefresh event and check the worldmin / worldmax / worldlength properties of x- and y-axes. ---------------------------------------------------------------------- Comment By: Satya Puvvada (satyasmiles2000) Date: 2008-02-26 01:47 Message: Logged In: YES user_id=2012175 Originator: NO This is happening in LinePlot too. When I zoomin to the lowest level, this is happening. I guess problem could be with Transform. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1630597&group_id=161868 |
From: <jam...@us...> - 2009-12-18 22:38:29
|
Revision: 33 http://nplot.svn.sourceforge.net/nplot/?rev=33&view=rev Author: jamcquay Date: 2009-12-18 22:38:20 +0000 (Fri, 18 Dec 2009) Log Message: ----------- Fixed [SF bug 1630597] Fixed for version 0.9.10.1 Zoom interaction was crashing when zooming in multiple times... Now checking if the graphics extends before allowing the update Fix coded by: jamcquay Signed off by: jamcquay Modified Paths: -------------- trunk/src/LinePlot.cs Modified: trunk/src/LinePlot.cs =================================================================== --- trunk/src/LinePlot.cs 2009-03-23 13:03:09 UTC (rev 32) +++ trunk/src/LinePlot.cs 2009-12-18 22:38:20 UTC (rev 33) @@ -178,7 +178,11 @@ } else { - g.DrawLine( Pen, p1.X, p1.Y, p2.X, p2.Y ); + // Ensure that we do not go outside of the graphics capabilities + if ((Math.Abs(p1.X) + Math.Abs(p2.X)) < 0x4000007F && (Math.Abs(p1.Y) + Math.Abs(p2.Y)) < 0x4000007F) + { + g.DrawLine(Pen, p1.X, p1.Y, p2.X, p2.Y); + } } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: SourceForge.net <no...@so...> - 2009-12-18 22:36:02
|
Bugs item #2916205, was opened at 2009-12-17 12:12 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2916205&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: .Refresh().method crashes - Still crashes Initial Comment: I would like to continue my latest thread, which was closed. It can be found with this link: http://sourceforge.net/tracker/?func=detail&aid=2915404&group_id=161868&atid=821568 Thanks Jamcquay for your response, but your code didn't work. Have you any other suggestion how I shall solve this? Here is my current code with your code response. // Generate data samples each second void runTimeLogger_Tick(object sender, EventArgs e) { xAxis.Add(counter++); // Generate a data sample to the X-axis yAxis.Add((1.5 + Math.Sin((double)counter * 0.2))); // Generate a data sample to the Y-axis - This will create a sine-curve for the Y-axis this.Invoke(new MethodInvoker(delegate() { UpdateGraph(); })); } // Update the display of the Nplot-graph private void UpdateGraph() { Grid grid = new NPlot.Grid(); grid.VerticalGridType = Grid.GridType.Coarse; grid.HorizontalGridType = Grid.GridType.Coarse; grid.MajorGridPen = new Pen(Color.LightGray, 1.0f); plotGraph.Add(grid); StepPlot stepPlot = new StepPlot(); stepPlot.Pen = new Pen(Color.Red, 2); stepPlot.AbscissaData = xAxis; stepPlot.DataSource = yAxis; plotGraph.Add(stepPlot); plotGraph.Refresh(); // This row causes the program to crash!!! (Argument Out Of Range Exception) } ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2009-12-18 22:36 Message: Please confirm if this fixed your problem ---------------------------------------------------------------------- Comment By: Jamie McQuay (jamcquay) Date: 2009-12-17 13:46 Message: Try updating your NPlot.dll to the latest release (0.9.10.0). I noticed that your application is using the 0.9.9.2 build. I tried your application with the version that you have and it failed... once i updated to 0.9.10.0 the application worked. Post back here how you make out... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2916205&group_id=161868 |
From: SourceForge.net <no...@so...> - 2009-12-17 13:54:41
|
Bugs item #2916205, was opened at 2009-12-17 07:12 Message generated for change (Comment added) made by jamcquay You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2916205&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: .Refresh().method crashes - Still crashes Initial Comment: I would like to continue my latest thread, which was closed. It can be found with this link: http://sourceforge.net/tracker/?func=detail&aid=2915404&group_id=161868&atid=821568 Thanks Jamcquay for your response, but your code didn't work. Have you any other suggestion how I shall solve this? Here is my current code with your code response. // Generate data samples each second void runTimeLogger_Tick(object sender, EventArgs e) { xAxis.Add(counter++); // Generate a data sample to the X-axis yAxis.Add((1.5 + Math.Sin((double)counter * 0.2))); // Generate a data sample to the Y-axis - This will create a sine-curve for the Y-axis this.Invoke(new MethodInvoker(delegate() { UpdateGraph(); })); } // Update the display of the Nplot-graph private void UpdateGraph() { Grid grid = new NPlot.Grid(); grid.VerticalGridType = Grid.GridType.Coarse; grid.HorizontalGridType = Grid.GridType.Coarse; grid.MajorGridPen = new Pen(Color.LightGray, 1.0f); plotGraph.Add(grid); StepPlot stepPlot = new StepPlot(); stepPlot.Pen = new Pen(Color.Red, 2); stepPlot.AbscissaData = xAxis; stepPlot.DataSource = yAxis; plotGraph.Add(stepPlot); plotGraph.Refresh(); // This row causes the program to crash!!! (Argument Out Of Range Exception) } ---------------------------------------------------------------------- >Comment By: Jamie McQuay (jamcquay) Date: 2009-12-17 08:46 Message: Try updating your NPlot.dll to the latest release (0.9.10.0). I noticed that your application is using the 0.9.9.2 build. I tried your application with the version that you have and it failed... once i updated to 0.9.10.0 the application worked. Post back here how you make out... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2916205&group_id=161868 |
From: SourceForge.net <no...@so...> - 2009-12-17 12:12:29
|
Bugs item #2916205, was opened at 2009-12-17 12:12 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2916205&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: .Refresh().method crashes - Still crashes Initial Comment: I would like to continue my latest thread, which was closed. It can be found with this link: http://sourceforge.net/tracker/?func=detail&aid=2915404&group_id=161868&atid=821568 Thanks Jamcquay for your response, but your code didn't work. Have you any other suggestion how I shall solve this? Here is my current code with your code response. // Generate data samples each second void runTimeLogger_Tick(object sender, EventArgs e) { xAxis.Add(counter++); // Generate a data sample to the X-axis yAxis.Add((1.5 + Math.Sin((double)counter * 0.2))); // Generate a data sample to the Y-axis - This will create a sine-curve for the Y-axis this.Invoke(new MethodInvoker(delegate() { UpdateGraph(); })); } // Update the display of the Nplot-graph private void UpdateGraph() { Grid grid = new NPlot.Grid(); grid.VerticalGridType = Grid.GridType.Coarse; grid.HorizontalGridType = Grid.GridType.Coarse; grid.MajorGridPen = new Pen(Color.LightGray, 1.0f); plotGraph.Add(grid); StepPlot stepPlot = new StepPlot(); stepPlot.Pen = new Pen(Color.Red, 2); stepPlot.AbscissaData = xAxis; stepPlot.DataSource = yAxis; plotGraph.Add(stepPlot); plotGraph.Refresh(); // This row causes the program to crash!!! (Argument Out Of Range Exception) } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2916205&group_id=161868 |
From: SourceForge.net <no...@so...> - 2009-12-16 14:10:56
|
Bugs item #2915404, was opened at 2009-12-16 04:10 Message generated for change (Comment added) made by jamcquay You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2915404&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None >Group: 0.9.10.0 >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Jamie McQuay (jamcquay) Summary: .Refresh().method crashes Initial Comment: I'm working on a dynamic graph that shall display the value of a temperature or a level sensor in runtime. My program is logging values into two collections. Each collection is put into the PlotSurface object's X-axis and Y-axis. This is done each second. But I'm having trouble with the .Refresh()-method. The method causes an Argument out of range exception to be thrown. The exception's message is (translated from Swedish to English): "Index was outside the range. It may not be negative and must be less than the crowd size. Parameter name: index" If I debug the program with a breakpoint on the .Refresh()-method instruction and press the "step into"-button the program doesn't not crash! I can then remove the breakpoint and run the program in run-mode instead with no crashes. If I just run the program without the breakpoint, it will crash. This is very strange and I can't understand why this is happening. I'll attach my entire Windows Form Application as a .RAR-file ---------------------------------------------------------------------- >Comment By: Jamie McQuay (jamcquay) Date: 2009-12-16 09:10 Message: The error in your code is that you are trying to update a UI element from a thread that is not the UI thread (timer ticks are handled on a different thread). To fix this you need to handle the NPlot update in the UI thread like this: // Generate data samples each second void runTimeLogger_Tick(object sender, EventArgs e) { xAxis.Add(counter++); yAxis.Add((1.5 + Math.Sin((double)counter * 0.2))); this.Invoke(new System.Windows.Forms.MethodInvoker(delegate() { UpdateGraph(); })); } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2915404&group_id=161868 |
From: SourceForge.net <no...@so...> - 2009-12-16 09:10:08
|
Bugs item #2915404, was opened at 2009-12-16 09:10 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2915404&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: .Refresh().method crashes Initial Comment: I'm working on a dynamic graph that shall display the value of a temperature or a level sensor in runtime. My program is logging values into two collections. Each collection is put into the PlotSurface object's X-axis and Y-axis. This is done each second. But I'm having trouble with the .Refresh()-method. The method causes an Argument out of range exception to be thrown. The exception's message is (translated from Swedish to English): "Index was outside the range. It may not be negative and must be less than the crowd size. Parameter name: index" If I debug the program with a breakpoint on the .Refresh()-method instruction and press the "step into"-button the program doesn't not crash! I can then remove the breakpoint and run the program in run-mode instead with no crashes. If I just run the program without the breakpoint, it will crash. This is very strange and I can't understand why this is happening. I'll attach my entire Windows Form Application as a .RAR-file ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2915404&group_id=161868 |
From: SourceForge.net <no...@so...> - 2009-11-19 21:50:56
|
Bugs item #2900759, was opened at 2009-11-19 21:50 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2900759&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: 0.9.10.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: DateTimeAxis LargeTickStep Issue Initial Comment: First, thanks for creating such a wonderful library! It has simplified my life a million times over. Second, I am having an issue with the LargeTickStep property of a DateTimeAxis when used in C#. If I set it to anything (other than new TimeSpan(0)) I lose my axis ticks & axis value labels and my axis label is moved above the axis (it is shown under when LargeTickStep is 0). A couple of lines of code: NPlot.DateTimeAxis xAx1 = new NPlot.DateTimeAxis(lstDates[0], lstDates[lstDates.Count - 1]); xAx1.LargeTickStep = new TimeSpan(10,0,0,0); xAx1.TicksLabelAngle = 90.0f; xAx1.TickTextNextToAxis = false; xAx1.FlipTicksLabel = true; graphfrm.m_psGraph.XAxis1 = xAx1; Thanks for your consideration and thanks again for such a great library. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2900759&group_id=161868 |
From: SourceForge.net <no...@so...> - 2009-10-18 02:26:06
|
Bugs item #2881142, was opened at 2009-10-18 02:26 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2881142&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: None Status: Open Resolution: None Priority: 5 Private: Yes Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: runtime error, created when using 2nd y axis label Initial Comment: 'runtime error, created when using 2nd y axis label 'i.e. plotSurfaceBalance.YAxis2.Label = "test" 'causes runtime error! Imports NPlot Public Class Form1 ' The NPlot download file contains a lot of examples as to how to use the 'NPlot charting library. Give it a try if you are looking for more examples! 'For this example you need to include the NPlot namespace. 'To do this, at the top of your class file write 'imports NPlot;'. 'To make this example work, you need to add two plot surface controls to your form. 'These controls should be named plotSurfaceBalance and plotSurfacePercent. 'Tip: Set the DateTimeToolTip property for each control to true. 'The actual code: 'Dim instance As PrintForm Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' plotSurfaceBalance.Clear() plotSurfacePercent.Clear() ''Add a background grid for better chart readability. Dim grid As Grid = New Grid() Grid.VerticalGridType = Grid.GridType.Coarse Grid.HorizontalGridType = Grid.GridType.Coarse Grid.MajorGridPen = New Pen(Color.LightGray, 1.0F) plotSurfaceBalance.Add(grid) plotSurfacePercent.Add(Grid) '' //Create a step plot instance for the balance chart. Dim stepBalance As LinePlot = New LinePlot() stepBalance.Pen = New Pen(Color.Red, 2) '' //Create a step plot instance for the balance chart. Dim stepBalance2 As LinePlot = New LinePlot() stepBalance2.Pen = New Pen(Color.Blue, 2) '' //Create a bar plot instance for the percent chart. Dim barPercent As BarPlot = New BarPlot() barPercent.FillBrush = NPlot.RectangleBrushes.Solid.Green '' //Create the lists from which to pull data. Dim balanceAxis As List(Of DateTime) = New List(Of DateTime) Dim percentAxis As List(Of DateTime) = New List(Of DateTime) Dim balanceAmount As List(Of Decimal) = New List(Of Decimal)() Dim balance2Amount As List(Of Decimal) = New List(Of Decimal)() Dim percentAmount As List(Of Decimal) = New List(Of Decimal)() '' //The following code populates the lists above with data. '' //This code is intended as an example. You could use other '' //data sources such as a database to populate the lists. Dim startDate As DateTime = New DateTime(2000, 1, 1) Dim balanceValues As Decimal() = New Decimal() { _ 500.0, 503.0, 499.3, 489.6, 489.3, 483.3, 480.0, 475.1, _ 476.2, 476.2, 480.1, 495.3, 499.3, 497.7, 500.1, 510.45, _ 515.3, 520.8, 525.3, 521.3, 522.67, 519.8, 524.3, 530.01, _ 529.55, 527.1, 535.66, 539.21, 540.06, 540.0} 'new CHM Dim balance2Values As Decimal() = New Decimal() { _ 510.0, 403.0, 459.3, 389.6, 469.3, 443.3, 580.0, 375.1, _ 466.2, 476.2, 460.1, 455.3, 469.3, 417.7, 508.1, 517.45, _ 517.3, 540.8, 625.3, 571.3, 552.67, 559.8, 574.3, 570.01, _ 519.55, 527.1, 505.66, 539.21, 500.06, 500.0} '' //Add data to X axis datetime lists. For i As Integer = 0 To 30 '' //The percent date is offset by half a period to make the charts '' //visually correspond when plotted. balanceAxis.Add(startDate.AddDays(i)) percentAxis.Add(startDate.AddDays(i + 0.5)) Next ''//Populate the balanceAmount list. For Each value As Decimal In balanceValues balanceAmount.Add(value) Next 'new CHM ''//Populate the balance2Amount list. For Each value As Decimal In balance2Values balance2Amount.Add(value) Next '' //Calculate the percentage return (first period cannot be computed). percentAmount.Add(0) For i As Integer = 0 To balanceAmount.Count - 2 percentAmount.Add((balanceAmount(i + 1) - balanceAmount(i)) / balanceAmount(i) * 100) Next '' //#NPLot 9.10.0 cannot plot negative top bars. Future releases will '' //#be capable of doing this and will also add a property to set the '' //#bottom value to a fixed value for each bar.(OrdinateDataBottomAll) '' //#for now you can do this yourself. Dim top As List(Of Decimal) = New List(Of Decimal) Dim bottom As List(Of Decimal) = New List(Of Decimal) For Each value As Decimal In percentAmount If (value >= 0) Then top.Add(value) bottom.Add(0) Else top.Add(0) bottom.Add(value) End If Next ''//Set the datasource and the xax for the balance plot. stepBalance.AbscissaData = balanceAxis stepBalance.DataSource = balanceAmount 'add x,y pair stepBalance2.AbscissaData = balanceAxis stepBalance2.DataSource = balance2Amount '' //Set the datasource and the xax for the percent plot. barPercent.AbscissaData = percentAxis barPercent.OrdinateDataBottom = bottom barPercent.OrdinateDataTop = top '' //Add stepBalance to plotSurfaceBalance. plotSurfaceBalance.Add(stepBalance) plotSurfaceBalance.Add(stepBalance2) '' //Balance plot general settings. plotSurfaceBalance.ShowCoordinates = True plotSurfaceBalance.YAxis1.Label = "Balance - EURO" 'plotSurfaceBalance.YAxis2.Label = "test" plotSurfaceBalance.YAxis1.LabelOffsetAbsolute = True plotSurfaceBalance.YAxis1.LabelOffset = 40 plotSurfaceBalance.YAxis1.LabelColor = Color.Crimson plotSurfaceBalance.XAxis1.HideTickText = False plotSurfaceBalance.XAxis1.LabelColor = Color.Red plotSurfaceBalance.Padding = 5 'plotSurfaceBalance.YAxis2.Label = "test" 'causes runtime error! 'plotSurfaceBalance.YAxis2.LabelOffsetAbsolute = True 'plotSurfaceBalance.YAxis2.LabelOffset = 60 'plotSurfaceBalance.XAxis2.HideTickText = True ''//Add barPercent to plotSurfacePercent. plotSurfacePercent.Add(barPercent) '' //Percent plot surface general settings. plotSurfacePercent.ShowCoordinates = True plotSurfacePercent.YAxis1.Label = "Percentage Return" plotSurfacePercent.YAxis1.LabelOffsetAbsolute = True plotSurfacePercent.YAxis1.LabelOffset = 40 plotSurfacePercent.YAxis1.LabelColor = Color.DarkMagenta plotSurfacePercent.Padding = 5 '' //Align percent plot axes. Dim ax As DateTimeAxis = New DateTimeAxis(plotSurfaceBalance.XAxis1) ax.HideTickText = False plotSurfacePercent.XAxis1 = ax ' '' //Align percent plot axes. 'Dim ax2 As DateTimeAxis = New DateTimeAxis(plotSurfaceBalance.XAxis2) 'ax2.HideTickText = False 'plotSurfacePercent.XAxis1 = ax2 '' //Refresh surfaces. plotSurfaceBalance.Refresh() plotSurfacePercent.Refresh() End Sub Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click 'Dim pf1 As New PrintForm pf.Form = Me pf.PrintAction = Printing.PrintAction.PrintToPreview pf.Print() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Close() End Sub End Class ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2881142&group_id=161868 |
From: Thomas E. <th...@th...> - 2009-09-21 14:21:39
|
Dear Dave, thank you very much for opening my eyes: I was attaching all data to the same Y-axis, therefore it could not be plotted in the range. Greetings, Thomas -- Dr. Thomas Erichsen Keplerstr. 108 45147 Essen Tel.: +49 (0)162 9436314 |
From: Dave C. <dav...@gm...> - 2009-09-18 15:13:11
|
I have two methods (which I see now could be simplified): protected void DrawIndicatorLineLeft(DataTable sourceDT, NPlot.Windows.PlotSurface2D plotSurface, string name, string abscissa, string ordinate, Color color) { LinePlot trendline = new LinePlot(); trendline.DataSource = sourceDT; trendline.AbscissaData = abscissa; trendline.OrdinateData = ordinate; trendline.Pen = new Pen(color, 1.0f); trendline.Label = name; PlotSurface2D.XAxisPosition xp = PlotSurface2D.XAxisPosition.Bottom; PlotSurface2D.YAxisPosition yp = PlotSurface2D.YAxisPosition.Left; plotSurface.Add(trendline, xp, yp); } protected void DrawIndicatorLineRight(DataTable sourceDT, NPlot.Windows.PlotSurface2D plotSurface, string name, string abscissa, string ordinate, Color color) { LinePlot trendline = new LinePlot(); trendline.DataSource = sourceDT; trendline.AbscissaData = abscissa; trendline.OrdinateData = ordinate; trendline.Pen = new Pen(color, 1.0f); trendline.Label = name; PlotSurface2D.XAxisPosition xp = PlotSurface2D.XAxisPosition.Bottom; PlotSurface2D.YAxisPosition yp = PlotSurface2D.YAxisPosition.Right; plotSurface.Add(trendline, xp, yp); } But you need to add an additional YAxis: protected NPlot.Windows.PlotSurface2D AddIndicator(DataTable dt, string name, string controlKey, string absiscca, string[] lineNames) { NPlot.Windows.PlotSurface2D indicatorPlot = this.plotSurface; indicatorPlot.YAxis2 = new LinearAxis(); indicatorPlot.YAxis2.TickTextNextToAxis = false; indicatorPlot.YAxis2.Label = name; indicatorPlot.YAxis2.LabelOffset = 30; indicatorPlot.YAxis2.LabelOffsetAbsolute = true; indicatorPlot.YAxis2.AutoScaleTicks = true; foreach (string lineName in lineNames) DrawIndicatorLineRight(dt, indicatorPlot, name, absiscca, lineName, Color.Red); indicatorPlot.Invalidate(); return indicatorPlot; } Here's a simple analytic I use: protected void DrawEMATrendLine(int maPeriods, Color color) { // generate the trendline DataTable dt = new DataTable(); Queue queue = new Queue(maPeriods); DataRow newDr; double ema = 0d; dt.Columns.Add("Date", typeof(DateTime)); dt.Columns.Add("EMA", typeof(double)); dt.Columns.Add("Sequence", typeof(int)); queue.Enqueue((double)this.dataTable.Rows[0][4]); foreach (DataRow dr in this.dataTable.Rows) { ema = Statistics.GetEMAMeanFromQueue(queue, (double)dr[4], maPeriods); newDr = dt.NewRow(); newDr[0] = dr[7]; newDr[1] = ema; newDr[2] = dr[8]; dt.Rows.Add(newDr); } DrawIndicatorLineLeft(dt, this.charts[hotChartIndex].PlotSurface, "EMA-" + maPeriods, "Sequence", "EMA", color); // You could use AddIndicator here } And two versions of the MA calc, one weighted and one EMA: public static double GetEMAMeanFromQueue(Queue queue) { double total = 0d; int counter = queue.Count - 1; int totalPeriods = 0; foreach (double d in queue) { total += Math.Abs(d * (queue.Count - counter)); counter--; totalPeriods += queue.Count - counter; } return total / (double)totalPeriods; } public static double GetEMAMeanFromQueue(Queue queue, double currentVal, int maPeriods) { /// ema% = 2/(queue.Count + 1) double emaExponent = 2d / (double)(maPeriods + 1); double yesterdaysEma = (double)queue.Dequeue(); double todaysEma = (currentVal * emaExponent) + (yesterdaysEma * (1 - emaExponent)); queue.Enqueue(todaysEma); return todaysEma; } The axis are easily the most complex part of nplot - and I still have trouble with them. It's too bad the original developers haven't take the time to create good examples of everything you can do with it. Or create docs that really explore it. But, once you get over the steep learning curve - it does work quite nicely. Dave Cline On Fri, Sep 18, 2009 at 7:46 AM, Thomas Erichsen <th...@th...> wrote: > Hey there, > > is there still anyone of the developers or advanced users around in this > mailing list? I am currently at a problem, that if I add two or more > linescans to a Plotsurface2D, only the last one is displayed. So, how > can I plot more than one XY-dataset? > > Any help or even a lifesignal is appreciated... > Thomas > > Thomas Erichsen schrieb: > > Dear all, > > > > in the example-section of nplot.com I found an example with multiple > > y-axes. I would like to do something similar (using nplot 0.9.10 stable > > in VB .Net), showing two sets of data with the same X-data, but > > different Y-Values and axes. > > > > Does anyone have some example sourcecode he could share? > > > > Thanks, > > Thomas > > > > > > -- > Dr. Thomas Erichsen > Keplerstr. 108 > 45147 Essen > > Tel.: +49 (0)162 9436314 > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Nplot-devel mailing list > Npl...@li... > https://lists.sourceforge.net/lists/listinfo/nplot-devel > -- ___________________ Dav...@gm... Lake Oswego, OR 801-473-9213 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ |
From: Thomas E. <th...@th...> - 2009-09-18 14:59:31
|
Hey there, is there still anyone of the developers or advanced users around in this mailing list? I am currently at a problem, that if I add two or more linescans to a Plotsurface2D, only the last one is displayed. So, how can I plot more than one XY-dataset? Any help or even a lifesignal is appreciated... Thomas Thomas Erichsen schrieb: > Dear all, > > in the example-section of nplot.com I found an example with multiple > y-axes. I would like to do something similar (using nplot 0.9.10 stable > in VB .Net), showing two sets of data with the same X-data, but > different Y-Values and axes. > > Does anyone have some example sourcecode he could share? > > Thanks, > Thomas > > -- Dr. Thomas Erichsen Keplerstr. 108 45147 Essen Tel.: +49 (0)162 9436314 |
From: Thomas E. <th...@th...> - 2009-06-15 13:25:08
|
Dear all, in the example-section of nplot.com I found an example with multiple y-axes. I would like to do something similar (using nplot 0.9.10 stable in VB .Net), showing two sets of data with the same X-data, but different Y-Values and axes. Does anyone have some example sourcecode he could share? Thanks, Thomas -- Dr. Thomas Erichsen Keplerstr. 108 45147 Essen Tel.: +49 (0)162 9436314 |
From: SourceForge.net <no...@so...> - 2009-05-19 17:17:24
|
Bugs item #2793680, was opened at 2009-05-19 08:37 Message generated for change (Comment added) made by hywelthomas You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2793680&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: 0.9.10.0 >Status: Deleted >Resolution: Duplicate Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: MouseWheelZoom doesn't work properly Initial Comment: Hi, I recently tried to add the MouseWheelZoom Interaction to one of my plots. I noticed that it shifts the axis instead of zooming it. On the other hand the axisdrag feature works fine. If somebody has solved the problem it would be quite nice. I'm going to work on it within the next few days. ---------------------------------------------------------------------- >Comment By: Hywel Thomas (hywelthomas) Date: 2009-05-19 18:17 Message: Already commented on in #2793364 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2793680&group_id=161868 |
From: SourceForge.net <no...@so...> - 2009-05-19 07:37:19
|
Bugs item #2793680, was opened at 2009-05-19 07:37 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2793680&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: 0.9.10.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: MouseWheelZoom doesn't work properly Initial Comment: Hi, I recently tried to add the MouseWheelZoom Interaction to one of my plots. I noticed that it shifts the axis instead of zooming it. On the other hand the axisdrag feature works fine. If somebody has solved the problem it would be quite nice. I'm going to work on it within the next few days. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2793680&group_id=161868 |
From: SourceForge.net <no...@so...> - 2009-05-18 16:35:27
|
Bugs item #2793364, was opened at 2009-05-18 15:04 Message generated for change (Settings changed) made by hywelthomas You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2793364&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: 0.9.10.0 >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Hywel Thomas (hywelthomas) Summary: MouseWheelZoom doesn't work properly Initial Comment: Hi, I recently tried to add the MouseWheelZoom Interaction to one of my plots. I noticed that it shifts the axis instead of zooming it. On the other hand the axisdrag feature works fine. If somebody has solved the problem it would be quite nice. I'm going to work on it within the next few days. ---------------------------------------------------------------------- >Comment By: Hywel Thomas (hywelthomas) Date: 2009-05-18 17:35 Message: The MouseWheel Zoom uses the Ctrl key to zoom, and the Shift key to change between Horizontal and Vertical scrolling. It would help if this was documented other than in the code! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2793364&group_id=161868 |
From: SourceForge.net <no...@so...> - 2009-05-18 14:04:24
|
Bugs item #2793364, was opened at 2009-05-18 14:04 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2793364&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: 0.9.10.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: MouseWheelZoom doesn't work properly Initial Comment: Hi, I recently tried to add the MouseWheelZoom Interaction to one of my plots. I noticed that it shifts the axis instead of zooming it. On the other hand the axisdrag feature works fine. If somebody has solved the problem it would be quite nice. I'm going to work on it within the next few days. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2793364&group_id=161868 |
From: SourceForge.net <no...@so...> - 2009-05-14 14:03:33
|
Bugs item #1782467, was opened at 2007-08-27 13:33 Message generated for change (Comment added) made by hywelthomas You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1782467&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: 0.9.10.0 Status: Open >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Hywel Thomas (hywelthomas) Summary: HairLine doesn't XOR Initial Comment: BUGG File : PlotSurface2DDemo.cs Example : "Sound Wave Example" 1/16 Scenario: Show World Coordinates Problem : Hair Line (crosshair) trace rest on the pane when the mouth is moved rapidly over. QUEST The displayd coordinates could be static on the FORM user localizable? ---------------------------------------------------------------------- >Comment By: Hywel Thomas (hywelthomas) Date: 2009-05-14 15:03 Message: Further testing showed an interaction with the PrintPage operation, and the zip file has now been updated to correct this (introduced) problem, and update the display cache bounds. PlotSurface2DDemo has also been updated to draw the Guideline in White ---------------------------------------------------------------------- Comment By: Hywel Thomas (hywelthomas) Date: 2009-05-09 12:07 Message: Patch added with a fix for the XOR lines problem in Windows.PlotSurface2D. UnitTests also added for the new Overlay class. The zip file also contains a document describing the problem in more detail, together with the corrections made. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1782467&group_id=161868 |
From: Peter L. <pet...@gm...> - 2009-05-14 00:53:34
|
I am brand new to this list and also to open source development. When using this library, I though it may be useful to update an axis manually. This is especially true for creating small animations (ie continuously updated plots). This can be done by removing the plot, setting updateAxis to true, then adding it again. I thought I would look into adding a function to the plotSurface2D class to force an update of the axis. Is this already done? |