I'm using ZedGraph for my 2D graphing needs, but for a project, I need something that does 3d graphing. What is the best package I can use for this? I'd like the Graph Panes to be as easy to manipulate as with ZedGraph.
Edit: By 3D, I mean I want to be able to specify an x,y,z to get a surface. Thanks!
Using the source code that can be found in the link posted just below as well as WPF you can create a pretty good 3d graph, it's nothing groundbreaking but it might suit your needs:
3D Bar Chart
In principle you can create a bitmap using MathGL and display it. MathGL is cross-platform GPL (LGPL for core) plotting library which can plot 2- and 3-ranged data. However, I'm not sure what you can use C++ classes from C#. But C-interface should work.
Related
I searched for decent library, that allow plotting surfaces of revolution.
So I found HelixToolkit, that has not only convenient wpf controls, but also big lack of documentation.
I want to create two-sheeted hyperboloid that descibed by formula
but can't figure out what to use in mish-mash of functions and objects, that Helix delivers.
If you know another libraries/documentation or even solution to my problem, please, guide me.
https://github.com/helix-toolkit/helix-toolkit/tree/develop/Source/Examples/WPF/SurfaceDemo
Helixtoolkit has the dynamic surface 3d, maybe this is what you want.
I am currently playing around with WPF 3D. I allready got a cube in my application. Now I want to visualize the coordnate axes of the world system. It should look like a coordinate system on paper with lines res. columns as axes like for example the arrows in blender.
Thank you for your help
I can't recommend Helix 3D toolkit enough. It is a comprehensive toolkit for developing 3D WPF applications.
If you are worried that using a toolkit will reduce your discovery of 3D or you will somehow loose control of how you want to do things then I think you will be pleasantly surprised that it actually accelerates your learning and you are in total control.
The current home of Helix3D is on GitHub (also available on NuGet).
Download the source. In the source folder there is HelixToolkit.Wpf.sln which includes a sub project holding all the examples. If you compile the examples sub-project and run it you are presented with >30 really useful examples.
Here is a screenshot of the example browser running that has a demo of what you are asking for; 3D grid with x,y,z vectors at the origin.
I have been searching this for quite sometime but could not find an appropriate method. How to import 3D models in a WPF application at runtime when user selects a model. It can be built in any one of the popular 3D modelling software, 3DS max, Maya, Blender etc, not all. Any one of the formats .3DS, .MAX, .FBX, .obj etc is required to be imported.
If there are free libraries available for this, please mention them, and if i have to write the code myself, please guide how and where to start.
Try: http://helixtoolkit.codeplex.com/
You may try to convert 3D objects in to XAML and use then in WPF. Most of the 3D modelling softwares has 3D Model to XAML plugins.
Try this as well.. (Commercial but good tool)
http://www.erain.com/products/zam3d/DefaultPDC.asp
and i also highly recommend helixtoolkit
Good Luck.
I want to know that how to plot a graph in C#? Like i give input in form of coordinates (x,y)
and get a graph plotted with these values? (I want to know that where will this graph be plotted, on windows form or any other control?)
There are loads of packages for doing this sort of thing out there e.g. Dundas, Microsoft Charts or you can draw your own using GDI.
As lan said, there are many 3rd party controls available for drawing charts. Google for ".NET chart control" and judge for yourself what you like best.
If you're looking for an open source solution, I can recommend ZedGraph or nplot. There doesn't seem to be much recent activity on either of them, but they do support all major 2d chart types, are extensible and easy to use.
You may have a look at ZedGraph.
Example:
I am a visual person, if I can visualize something it often makes more sense to me.
Is there a simple way to render data in 3D to use for simple visualizations? What I effectively would like to do is the following:
I have a 3 dimensional Array of Int32's:
Int32[,,] data = new Int32[256,256,256];
I fill this array with data, and would basically want to now render this in a 3D space. X, Y and Z and place a dot where the data is greater than 0. Basic
Being able to change the viewing angle would be a bonus, but not essential.
I have not looked into 3D rendering enough to make use of any of the real 3D engines out there, so the simpler the better.
Any help, pointers would be nice.
Thanks
WPF (Windows Presentation Foundation, included in .net 3.5) makes 3D rendering quite easy (or at least easier than it was before). Have a look at the following tutorial:
http://www.kindohm.com/technical/WPF3DTutorial.htm -- original link is dead, but the article can still be found at archive.org, http://web.archive.org/web/20131122141342/http://kindohm.com/technical/WPF3DTutorial.htm
It shows how to create a small 3D viewport and position simple elements inside.
Microsoft .Net Chart Control - download here. It's like using the 3D charting in Excel.