11
votes
Accepted
Generate random smooth 2D closed curves
Since your figure is a closed loop, its parametric curves $x(t)$ and $y(t)$ must be periodic functions. This suggests one way to generate such figures, by constructing random smooth periodic functions ...
9
votes
Accepted
How to visualize multidimensional (d>10) function
I doubt there is a standard tool/technique for this kind of task. Nevertheless, there are some approaches. You would need at least one of the following strategies, according to ref. 1 (ch. 8):
...
8
votes
Accepted
Visualizing the solutions of the Differential equations by varying different parameters
You can try Geogebra (it is free). With SolveODE command and sliders you can do what yo want.
For the usage of SolveODE command see. For example by using following command
...
8
votes
Accepted
Visually appealing ways to plot singular vector fields with matplotlib or other foss tools
[I took your sample program as a starting point and adapted Colormap Normalization from the matplotlib wiki.]
Almost everything of the picture just looks red.
Indeed. They problem is that there ...
7
votes
CFD visualization workflow: Visit vs Paraview vs Tecplot and others
I'd venture the guess that most people in computational science use either Visit or Paraview for flow visualizations. These are simply the two most widely used programs I use.
It's true that there is ...
7
votes
Accepted
3D contour mesh computation
I think you could use the "marching cubes" algorithm. If memory serves, it requires a grid of samples as input, so at the very least you should be able to sample your function and run the algorithm as-...
6
votes
Accepted
How to create an optimal pizza delivery plan and how to visualize it
Problem Formulation
I can't guarantee that this is a perfect (or smallest-possible) formulation of the problem, but maybe it will help guide a better one.
The road network is a directed graph ...
5
votes
Second order tensor field visualization software
The program VisIt can do plots of tensor ellipsoids, but I don't think it has anything for hyperstreamlines. While it does make nice plots, I've found VisIt hard to install, if not impossible on some ...
5
votes
3D contour mesh computation
In addition to the voxel-based approach that rchilton suggests, you could also look at Delaunay-type algorithms. For example, the Computational Geometry Algorithms Library (CGAL) has some built-in ...
5
votes
Generate random smooth 2D closed curves
What I ended up doing is to download thousands of random images, smooth them with a Gaussian filter, and extract contours at different levels. I took 2-3 closed contours from each blurred image and ...
4
votes
CFD visualization workflow: Visit vs Paraview vs Tecplot and others
I don't know why do you want vector graphics for your visualizations. It works ok for 2D cases, but in 3D I believe that there is need for raster images. In Paraview you can export to PDF, for example....
4
votes
Visualizing the solutions of the Differential equations by varying different parameters
You can use DifferentialEquations.jl Online to visualize solutions to differential equations without a hassle. It's built using the Julia suite DifferentialEquations.jl, and the online interface is a ...
4
votes
Pre/Post-processor for an academic finite element solver
Cubit/Trelis for generating meshes (Exodus.II files) and Paraview/Visit usually work well for low order FE codes. The advantage of Exodus.II is that it is a standard and therefore edge/side/face ...
4
votes
Accepted
C++ library unstructured mesh writer to VTK format (or similar)
I think you are looking for Kitware VTK, basically, the main library for interaction with VTK files. Examples page will contain a lot of samples, including the one you are looking for: output of an ...
4
votes
Accepted
Recommended visualization tools for higher order finite element solutions?
New versions of VTK support what you are asking for, and new versions of Paraview can also display this. The current version of Visit can not yet, though, at the time of writing this.
The trick is ...
4
votes
Accepted
Finding a best fit line for the upper bound on an $x$ vs $y$ relationship
We can formulate the task of finding a straight line bounding the cloud of data points as constructing a straight line that touches the data set at least at two points, and the rest of the data points ...
3
votes
Visualization of quadtree & octree grids
In my case when I was doing the multilevel refinement, I used to write grid files at different levels separately. Usually the level 0 is a base coarse mesh which remains fixed. And for level 1 and up, ...
3
votes
Accepted
15 noded triangular elements in paraview
Unfortunately (unless things have changed very recently) VTK doesn't fully support anything higher than second order cells in terms of mesh visualisation and filtering. Various common workarounds ...
3
votes
Alternatives to Mathematica
Having used Mathematica, then trying Sage, and now SymPy/SymEngine in Julia, the clear winner is SymEngine.jl. Sage was hard to get working, was very slow, and I found it very hard to develop my own ...
3
votes
Alternatives to Mathematica
Sage would be perfect for classroom use. I once assisted a professor with classroom demonstrations of Physics, and it worked out pretty well.
Working with Sage does not require advanced programming ...
3
votes
Can mainstream 3D software be a useful alternative in scientific visualisation?
It seems you have answered your own question. As another example, computational astrophysicists have used Blender and Sketchfab, for instance, to render simulation output; see e.g. this page in the ...
3
votes
Visually appealing ways to plot singular vector fields with matplotlib or other foss tools
As already mentioned, the main problem is not with the visualization algorithm but with the data. Hence, you should use a different scaling (normalization) for the values. Furthermore, if you want to ...
3
votes
What are the computational solutions for periodic visualization of simulation?
My typical approach to this is to produce output data files that contain data at the required intervals and to visualize them in a batch way with a separate tool (Paraview, VisIt, Tecplot, MATLAB, etc....
3
votes
Accepted
Magnetic field simulation and visualization on Mac OS X?
For this purpose you need to use a simulation software. One of the most common methods in Electromagnetics would be Finite element method, but you can also find Boundary Element Methods or Finite ...
3
votes
Algorithms for (adaptive?) function plotting
I found this topic and thought I should share the developer issue page for adding this to the Julia library Plots.jl. We tried a bunch of techniques to see what would give good results, starting from ...
3
votes
Accepted
Recreating this 3D density plot in ParaView
You will have to interpolate the points to a 3D grid (a regular grid will do) and then do the volume rendering. See https://www.visitusers.org/index.php?title=Volume_Rendering for some examples.
3
votes
Accepted
Visualization of 3D streamlines in ParaView
StackOverflow has a similar question to yours. Although, it is not exactly the same.
The following is a pipeline for what you want:
...
3
votes
Accepted
Efficiently plot a finite element mesh solution with Matplotlib
You might be interested in trying other visualization tools such as ParaView, Mayavi or PyVista.
But, since the question is about Matplotlib, I would suggest that you use ...
3
votes
Accepted
Scipy Find Peaks
According to the documentation, find_peaks returns the indices of the peaks. But in your first plot command, the abscissas ...
2
votes
How can I plot piece-wise defined function in some easily-accessed open-source tool?
I think a piecewise function is a perfect case for using a closure. This frees you from the need of having a cumbersome n as an argument.
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
visualization × 140paraview × 21
python × 17
matlab × 14
plotting × 14
vtk × 10
fluid-dynamics × 8
finite-element × 7
software × 7
simulation × 5
algorithms × 4
computational-geometry × 4
electromagnetism × 4
mesh × 3
molecular-dynamics × 3
data-analysis × 3
unstructured-mesh × 3
vector × 3
data-sets × 3
data-management × 3
gnuplot × 3
optimization × 2
pde × 2
computational-physics × 2
c++ × 2