Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Data visualization is the study of the visual representation of data, meaning "information that has been abstracted in some schematic form, including attributes or variables for the units of information"

1
vote
2answers
47 views

How to make a choropleth map with a regional shapefile & data? (no global worldmap or continental)

I have a regional map in a shapefile with datanames and similar, but I can´t use it with data and making a choropleth map. I can´t use the names of each region ...
0
votes
1answer
65 views

How to visualize a .dat file in mathematica?

I have a dat file which contains a large amount of points. I can able to view the values from the dat file in mathematica but I don't make a plot column 3 vs 2 graph from the dat file. Can anyone help ...
9
votes
1answer
283 views

Making an interactive visualization of the eigenvectors of two-dimensional matrices

I've recently stumbled upon this very nice interactive visualization of eigenvectors of two-dimensional matrices, and how powers $A^k$ act on various vectors. How can this sort of visualization be ...
1
vote
2answers
22 views

Import multiple datasets, then plot separately

First of all, I am pretty inexperienced with Mathematica. I am using it for data analysis for a lab class. I have a file folder with my data as tab-separated values in .txt files. They are named ...
1
vote
2answers
64 views

Change the colors of vectors?

I'm using ListVectorPlot to draw vector fields. Is it possible to change the colors and also the types of the vectors?
4
votes
0answers
69 views

WordCloud Produces strange squares

I am trying to make a wordcloud from this txt file: https://ufile.io/dqhyd Source: How to delete certain words from a word cloud in mathematica? ...
8
votes
2answers
170 views

Visualize a string/sequence, emphasizing certain substrings

I need to visualize a sequence, with the ability to emphasize certain segments. For example, take this sequence seq: ...
10
votes
3answers
796 views

Coloring a map of India

Below is a map of India (img). and I can visualize it in the following way: ...
0
votes
1answer
59 views

Visualize embedded and immersed Klein bottle

Answers at How to visualize a 4-dimensional parametric surface? give functions for producing images of 3D projections of 4D embeddings of the Klein bottle. Is there a way to get such a 3D projection ...
11
votes
3answers
664 views

Plotting curves of different orders of magnitudes on the same graph

I want to plot Plot[{Exp[x],Sin[x]},{x,0,10}] The issue is that Sin[x] and Exp[x] are ...
0
votes
0answers
40 views

CommunityGraphPlot is not plotting in my Manipulate expression

I have two directed graphs $g1$ and $g2$. The following community detection code works fine for $g1$. ...
6
votes
2answers
141 views

How to visualize a 4-dimensional parametric surface?

What are some good ways, using ParametricPlot3D or otherwise, to visualize a surface (taking 2 real parameters) embedded in a 4-dimensional space? Specifically, ...
3
votes
1answer
60 views

How to execute a Mathematica notebook in a shell script to produce plots/graphics [duplicate]

I want to produce some plots/graphics for a large amount of data on a computing cluster in a high-throughput way. I'd like to do this by piping results through Mathematica where I'd apply some post-...
2
votes
1answer
69 views

“Exporting” Plot Theme “Classic”

I really like the 3D plots in Mathematica with the PlotTheme option set to "Classic". I wonder if there's a way to export the ...
0
votes
1answer
41 views

PlotRange in ListStreamDensityPlot broken?

Forgive me if this is answered elsewhere; I was unable to find this specific issue. For ListStreamDensityPlot, there are three options for ...
3
votes
1answer
20 views

Invert Slider and Play Button Position

The following animation: Manipulate[ Plot[i*Sin[x], {x, 0, 2*Pi}, PlotRange -> 10], {i, 1, 10, ControlType -> Animator}] Gives: How can I exchange <...
4
votes
2answers
250 views

How to visualize a list of sequence?

This is my data, its order has somewhat meaning ...
0
votes
0answers
20 views

How to plot a function?(not an expression) [duplicate]

How do I plot a function defined in mathematica like this: f[x_]:=x+5 This command shows just an empty plot: ...
0
votes
0answers
22 views

Positioning of vertex labels on graph [duplicate]

How can I position the vertex labels outside of the "circle" in CircularEmbedding? For example executing the code snippet ...
0
votes
3answers
102 views

Circle to Square Homotopy Generalization

I was looking for a nice visualization of the homotopy of the square to the circle. I produced the following code. Albeit, it isn't great, but it works out OK. My question is: Is there a better ...
5
votes
1answer
105 views

How to combine ListLogLogPlot and MatrixPlot?

Let's construct some data data = Exp@Sort@RandomReal[10, 100]; col = Transpose@MapIndexed[Exp[First@#2/20] + #1 &, RandomReal[10, {100, 99}]]; The ...
4
votes
1answer
101 views

Projecting 3D Mesh Region onto 2D Plane

For vizualization purposes in a beamer presentation I would like to project a 3D MeshRegion like ConvexHullMesh[RandomReal[{-1, 1}, {50, 3}]] onto a 2D plane. How ...
3
votes
2answers
78 views

How to filter-out edges in a HighlightGraph[] visualization based on VertexCoordinates[]?

I need to visualize a graph spatially, and I'm simply using: HighlightGraph[ConnectedGraphComponents[]] and the known coordinates of the graph's nodes. I really ...
3
votes
2answers
51 views

Scale maximum width of distributions in DistributionChart proportional to sample size?

I am looking to compare three different distributions by making a chart with the three violin plots via DistributionChart. The distributions have different sample ...
1
vote
2answers
50 views

Visualize extremal points of 3D function with additional conditions

When looking for the critical points of $f(x,y) = x^6+y^6+x^2+y^2$ only on the set $M = \lbrace (x,y) \in \mathbb{R}^2 \mid x^2+y^2 = 1 \rbrace$ I ask myself for a good visualization. So it would be ...
3
votes
2answers
79 views

How to scale a vertical quantity (e.g., scaled offset) with the width of a plot?

As stated in the Mathematica documentation, PointSize[d] is a graphics directive which specifies that points which follow are to be shown if possible as circular ...
2
votes
1answer
54 views

How to make a gradient transparency along a curve?

In this comment on Graphic Design I was recommended to use Mathematica for creating this effect: Imagine a bright object moving in the dark. It's only visible when its velocity below a threshold, and ...
7
votes
2answers
192 views

How to Wrap the Points of a 3D Clustering Plot?

I am doing clustering and have a plot as below:- ...
2
votes
0answers
25 views

Set minimum edge separation for SpringElectricalEmbedding

I have a graph with nodes that themselves are images of graphs. When there are many nodes in the graph the nodes are placed too close to one another and so the images overlap, preventing the edges ...
2
votes
1answer
117 views

Make your own ListSliceContourPlot3D

I have a fairly complicated scalar analytical function of 3 variables that appears to be quite incompatible with SliceContourPlot3D (I shut it down after a few ...
2
votes
3answers
399 views

Visualize function with 4 variables

I have a function F that maps the xyzt space to a set of reals, more clearly: F = 2 - x - 0.5 y - 2 z - 1.5 t; with all varialbes x, y, z, t in [0,1] range. I ...
0
votes
0answers
43 views

visualization of timedependent flux data

I am trying to visualize some electronic flux data for a quantum mechanical system. I have a file containing electronic flux values and coordinates for different timesteps in a quantum mechanical ...
7
votes
3answers
146 views

Visualising Finite Element Mesh in 3D with MeshRefinementFunction

How do you check that a MeshRefinementFunction is doing what you want in a 3D mesh where you only see the boundary mesh? I started by making a block with a hole as ...
2
votes
2answers
100 views
13
votes
2answers
1k views

Sampling “nice” mandelbrot sets?

I'd like to randomly sample square Mandelbrot fractals, but I'd like them to be interesting and show a "nice" section of the set: ...
4
votes
1answer
78 views

Comparing two groups - stacked bar chart with representation of each data point

I have a dataset comparing the performance of students on two exams, Exam 1 and Exam 2: I would like to create a stacked bar chart where each bar represents the grades on Exam 1 and the stacks in ...
1
vote
1answer
29 views

Coloring PieChart elements uniformly for various charts

I have in total 16 datasets and want to make PieCharts such that the colors are appropriate for the respective item. I tried with ...
0
votes
0answers
75 views

PlotLegends on DensityPlot

I have plot DensityPlot[100*Exp[-x^2 - y^2], {x, -2, 2}, {y, -2, 2}, PlotLegends -> {Automatic}] I wanna see the PlotLegend only in range 0 to 10. How do it?
2
votes
1answer
30 views

Can color schemes for use with ColorData include opacity specification?

Following instructions from Is it possible to insert new colour schemes into ColorData?, I was able to create the custom color scheme: by using the following code: ...
2
votes
3answers
82 views
2
votes
1answer
63 views

Reshape and animate a list of points

I have a very big list of numbers in a file. They represent locations of pool balls on board over time while they move. There are $N$ balls, and the points are arrenged such that every $N$ terms on ...
2
votes
0answers
61 views

Visualizing Trained Filters

In the first convolutional layer of NetModel "Wolfram..." , the parameters of the filter are 64 (number of filters), and 112x112 (size). The last convolutional layer has 192 55x55 filters. What ...
2
votes
1answer
71 views

Offset directed edge arrows with VertexLabels in panels

This Q is related to this one but haven't found a way to extend it to the use of VertexLabels in panels. Given this graph data: ...
4
votes
0answers
118 views

How to do a Sankey Diagram with multiple notes in Mathematica

I want to create a Sankey Diagram that looks like this: I read the post on How to Make a Sankey Diagram, but I can't seem to make the right adjustments to get the diagram I want. Is there a way to do ...
0
votes
0answers
30 views

How to create a particular 3D variant of MatrixPlot?

Does anybody know an elegant way to implement a matrix plot of the following form in Mathematica? Where $Y_{ij}$ is just an matrix of complex numbers (the index $a$ just counts different matrices, ...
0
votes
2answers
34 views

DateHistogram horizontal axis labels and bin size

Problem I'm tracking some DateObject data and I'm struggling to get the horizontal axis ticks to match the time in Pacific Standard Time (PST). Data ...
3
votes
1answer
77 views

Extracting Internal Visualization Information (PlotTheme, MeshRegion, FaceNormals, etc.)

Sometimes, you can tell Mathematica knows something internally, possibly because it visualizes the known quantities for you, but can't figure out how to get it to tell you them explicitly. I'm having ...
23
votes
1answer
907 views

How to Make a Sankey Diagram

I have two lists start = {{1},{1},{1},{2},{3},{1}} end = {{1},{2},{2},{3},{3},{1}} And I want to create a Sankey diagram. Which looks something like So, ...
1
vote
1answer
130 views

Rose plots for wind field quantities

I'm struggling to generate rose plots that have the ability to plot multiple measurands that can be both positive and negative. Here's an example of something (from Excel !) that I seem to be having ...
10
votes
4answers
267 views

Finding a visually pleasing rotation of point sets with approximate symmetries

Suppose we have an arrangement of points in 2D that are visually symmetric, and therefore they have a rotation that seems "natural". For example, consider these points: ...