Questions tagged [plotting]

Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.

Filter by
Sorted by
Tagged with
0
votes
1answer
71 views

Shooting Method for Numerical Solution

I am trying to solve the following nonlinear differential equation using the shooting method. The equation is a boundary value problem with boundary condition x[0]=Pi and x[Infinity]=0. In order to ...
1
vote
1answer
62 views

How to construct a specific binary tree from a particular set of information?

I run a algorithm to solve a problem that return a set of information relative to a binary tree associated with these problem. For illustrate the results obtained I try to plot the binary tree. I make ...
1
vote
1answer
75 views

Can Mathematica produce zoomable plots, with embedded text of varying size?

I'm trying to figure out how do something on MMa that's fairly easy on Matlab. I some data points that each maps a numerical parameters to a point in 2D space. I need to plot the parameter values to ...
3
votes
1answer
105 views

how To Improve that ComplexPlot3D

I have in mind the result of ComplexPlot3D[Log[MittagLefflerE[1/2, z]],{z, -50 - 50*I, 50 + 50*I}, PlotPoints -> 300,PlotRange -> All] In particular, the ...
1
vote
1answer
38 views

Square brackets in axis label

Within the Plot[] environment I'd like to label one of the axes as $r\,\,[a_0]$ with square brackets to denote that $a_0$ is the unit. How can I achieve this? So far I've tried Text[Style[...
0
votes
0answers
19 views

Combining Show and Grid

In order to display various things on a single ListLinePlot, I used Show. I did that twice, to create two separate plots. In each case, I named the resulting diagrams: a = Show[plot1,plot2] b = Show[...
9
votes
5answers
16k views

How to add PlotLegends in a Show function?

I have multiple ListPlot in a Show where i want to add PlotLegends, but adding the PlotLegend...
1
vote
1answer
58 views

How to fix the plot Range in list log linear plot

I have 8 plots, and all these plots are generated using ListLogLinearPlot function. and later I have used Show command put all plot in one single figure, but could not able to fix the plot range. <...
0
votes
0answers
42 views

How To Combine Two Graphs [on hold]

Can anyone please help me combine these graphs, also take not of the graph constructed from the imported file and I have tried many options but still can't work.
6
votes
2answers
107 views

Filling a listlineplot with a texture

Consider the following list ...
3
votes
3answers
91 views

Highlight typical elements in list?

I have a big sorted list and some of it is important, I want to visualize the position of these important elements. ...
6
votes
2answers
133 views

The correct way of compute indicator function in Mathematica

$$X_1= \mathbb{1}_{[0,1]} $$ $$X_2= \mathbb{1}_{[0,\frac{1}{2}]}, X_3= \mathbb{1}_{[\frac{1}{2},1]}, $$ $$X_4= \mathbb{1}_{[0,\frac{1}{3}]}, X_5= \mathbb{1}_{[\frac{1}{3},\frac{2}{3}]}, X_6= \mathbb{...
3
votes
1answer
439 views

Different Boundary Style on each edge of 3D Plot

I am wondering is there a possibility to define different properties on each edge of Plot3D (different colours or thicknesses) by using ...
2
votes
2answers
44 views

DateListPlot shaded area between Gridlines

I have been trying to figure out how to shade between Gridlines and I couldn't on my own, but found this post that almost has the perfect response except that the spaces between the frame and the ...
0
votes
1answer
55 views

BoundaryDiscretizeRegion Plots does not work with ParametricPlot3D

I am trying wit this data ...
3
votes
1answer
138 views

How to plot the hour of the sunsets

i have this code: ...
4
votes
3answers
67 views

ColorFunction based on array index in ListLinePlot

ColorFunction specifies that for ListLinePlot it takes the $x,y$ data as inputs. I, however, would like to take the array index (...
10
votes
1answer
717 views
+200

Simulating a partial differential equation - reaction-diffusion systems and Turing patterns

I want simulate a reaction-diffusion system described by a PDE called the FitzHugh–Nagumo equation. The system that has been proposed by Alan Turing as a model of animal coat pattern formation and is ...
1
vote
4answers
84 views

Adding plot options after @ in ListLinePlot [on hold]

How can plot options like PlotLabel and PlotRange be added after @ in ListLinePlot? For example: ...
1
vote
2answers
66 views

Increasing the length of frame ticks

I know that I can manually adjust the frame tick length using FrameTickStyle. However, is there a way to globally increase the tick length?
-1
votes
0answers
15 views

Changing ticks on axes and full bar legend of density plot

I want to remove the {$5*10^4$,$5*10^5$ and $5*10^6$} ticks from the y-axis as they look like eye-sore. How do I do that? Also my bar legend isn't giving the whole range i.e. 0 to Max range of Lkall (...
0
votes
0answers
29 views

Density Plot going out of range

I am plotting a function Lkall (shown in the picture below) with two inputs temp and n1d, ...
0
votes
1answer
33 views

How can I make the length of all the vectors in a vector plot equal?

I tried ...
0
votes
2answers
56 views

Different colors of ticks in the same listplot

I have the following vector: tn = {0.521084, 0.114895, 0.114895, 0.114895, 0.114895, 0.521084, 0.114895, 0.114895} I would like to try a ListStepPlot such that ...
1
vote
1answer
67 views

Numerical solution to Differential equation

I want to get the differential solution numerically. I used wolfram alpha. here is the link. I tried this code on the Mathematica file. ...
4
votes
1answer
58 views

Plotting :Change the format of numbers on the graph axis [duplicate]

I need to change the format for representing numbers along the abscissa. I want to keep numbers 0,2,4,6,8,10 and put the degree, for example, on the tab "time, * 10 ^ 9 seconds" or keep numbers ...
5
votes
1answer
70 views

How Does StreamPlot Handle Singularity or Indeterminates?

I will like to know how StreamPlot finds its way around singular/indeterminate values. Actually, I was thinking of using ...
3
votes
1answer
205 views

Extending a 2d plot to 3d

So having trouble making a plot of this potential in 3D $\ U(x) = \frac{k^2}{4g} - \frac{k}{2}x^2 + \frac{k}{2}x^4$ This is what I have for 2D setting k = 1 and ...
0
votes
0answers
28 views

How to animate a closed ( filled ) circle (or any closed 2d curve) rotating about a axis tangent to circle making it to move in 3D space? [on hold]

I'm trying to learn how to animate in Mathematica. Kindly provide a code in Mathematica with an explanation. If possible kindly tell some approaches to deal with basic animations in Mathematica. I'm ...
3
votes
2answers
279 views

Circular table (spreadsheet like) - is it possible?

In the past, I've made a circular spreadsheet in Javascript, which can be seen in here : http://secteur-3.net/ARN-Public/ARN.html (left matrix). Each cell is bound to some data and have minimum ...
0
votes
1answer
34 views

Adding an identifying letter to plots in a standard position [duplicate]

It is customary in many publications to mark diagrams with a large identifying letter - an example is shown below. What functionality in Mathematica is useful for adding such identifiers, and how can ...
1
vote
1answer
87 views

Draw a figure made of lines and put labels on some

I want to put $ \Delta y_{1} $ in the magenta line, $ \Delta y_{2} $ in both red lines, $ \Delta L $ in the yellow line and $ L $ in the line that is continuation of $ \Delta L $. Either using my ...
2
votes
1answer
32 views

A ListPlot with multiple lines, fill to the axis, no thickness of the lines, and all fill in the same color

I have created the ListPlot shown below (from data in a multidimensional list), but it is not exactly what I aimed for. I aimed for everything shown, except I do not want any lines to border the ...
0
votes
0answers
18 views

Plotting DiracDelta series

I'm dealing with the Fourier Transform of the following signal: ...
0
votes
1answer
27 views

How to plot the Imaginary values of a function

When i use the following code in Mathematica9 to plot the imaginary values of the function all the values are plotted on the Y axis. It is seen that the X values are taken as zero. ...
8
votes
2answers
505 views

Contour plot of a sequence of spheres with increasing radius

I am trying to do a simple thing really, plot a sequence of spheres with increasing radii and I used a Do-loop to do it, but nothing happens, Please suggest what I can do to get the result I want? <...
3
votes
0answers
50 views

Large Dynamic expressions and responsive UI's

I have a ListLinePlot with 40,000 points. When it's displayed on-screen the input fields are not responsive (text appears slowly well after the user is done typing)....
1
vote
0answers
24 views

How to plot a graph with fixed Frame width and height while keep PlotRange Automatic?

I'm trying to plot a graph and set Frame width and height by given numbers. However, I found I could only fix the Frame height, the Frame width varys with data plotted. For example, compare ...
1
vote
1answer
65 views

Manipulating ParametricPlot

I have to solve the following task: Write a Manipulate command containing the values ​​a, b, c and d of the matrix $\begin{pmatrix} a & b \\ c & d \end{pmatrix}$ each varied in the range [0,...
4
votes
2answers
76 views

Plotting perpendicular lines to a contour plot (electric field from equipotential curves)

I'm currently working on a experiment about Electric Fields and Equipotential Curves. The problem is that I want to plot (estimate) the curves of electric field using the fact that every one of these ...
4
votes
1answer
78 views

Colorize specific region in plane

The plane is divided into a grid and points is distributed on it. ...
3
votes
0answers
2k views

Calculating the mean curvature of a surface - suggestions

I am attempting to calculate the mean curvature [1, 2] of a surface defined by a function of x and y. My function is rather ...
4
votes
2answers
1k views

Plot a space curve and its curvature

The vector is < te^t, e^-t, Sqrt [2]t >, where -5 <= t <= 5 I have to plot the space curve and its curvature ...
3
votes
1answer
27 views

Permanently labeling events on a stock DateListPlot, perhaps using ToolTip?

I would like to add notes to specific days on a DateListPlot of a stock price, and have them always be visible (not just on mouseover). So far I've got how to add a tooltip to a specific day, but not ...
1
vote
1answer
304 views

Region plot with region function

I am pretty new to mathematica (very new) and am trying to make a plot to display regions of a function that are positive and negative subject to a constraint. I have a function $P = P(n,m)$ that has ...
3
votes
3answers
205 views

PlotLegend frame disappeared after export

I placed a framed PlotLegend and it works just fine in the notebook, but after exported to PDF the legend frame disappeared. ...
0
votes
0answers
24 views

Contour 3DPlot of four sets of data

I have four different functions that can generate four different datasets. I want to be able to generate a single 3D contour of the result. I've tried many things and basically I am not getting ...
0
votes
1answer
41 views

Are there better ways to plot a continuous scalar function of three variables?

I am plotting a continuous scalar function of three variables with this code: ...
0
votes
0answers
15 views

Creating a region for Plot3D by using an interpolating function as limit

I have a function sigma[qr,q0] of two variables with a sharp delta-like peak that cannot be numerically integrated by NIntegrate, like this: Since the upper and lower regions excluding the peak are ...
3
votes
1answer
24 views

symbols in legend loose edge

I make my own symbols for plotting: ...