The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
1
vote
1answer
51 views

getting rid of the planes in SliceDensityPlot3D

I have a problem I would like to make a plot of a 3D density that looks similar with SliceDensityPlot3D with "ZStackedPlanes" options but without the God awful planes that appear, keeping only the ...
3
votes
1answer
100 views

Methods for ListPlot3D [duplicate]

In the documentation for ListPlot3D we see that there is the option Method, but which methods are avalaible? I cannot find a documentation page for it. If that is ...
3
votes
1answer
80 views

Daylight hours vs calendar date

Is there a way in Mathematica or Wolfram Alpha to get a plot of daylight hours vs calendar date and rate of change of daylight hours vs calendar date. Lets say I want the plot for latitude 45 degrees ...
0
votes
1answer
71 views

Integer functions indices in a sum

I have some troubles with plotted A versus p, especially for the function F(s,l,p), I don´t know how deal with the integer functions indices of the sum. How can I input such a sum to Mathematica?. ...
3
votes
2answers
85 views

Solar Power Calculations

Good Afternoon, I have calculated the Incident beam radiation for a given locations local sunlight hours. ...
3
votes
3answers
80 views

How do I plot a hemisphere on top of a cone?

I am trying to plot a hemisphere on top of a cone to create something that looks like an ice cream cone. Here is what I have so far: ...
3
votes
1answer
51 views

Is it possible to plot a function's value along a curve using different color?

I have a curve in 3D space which is green curve in the following picutre The code for generating the curve is as follows: ...
0
votes
1answer
70 views

Solve implicit equations, input and plot the solution in a different equation

I have two implicitly defined variables, $\sigma_D$ and $\sigma_M$ one of which is a function of the parameter $v$. In particular, $\sigma_D = F(\sigma_D,v)$ where $F(\sigma_D,v)=0$ if $ c_D < -0....
0
votes
1answer
82 views

How to solve set of linear differential equation in Mathematica?

I have a set of linear differential equations and are written in this format [X']=[Y]-[R] where [P][Y]=[Q] My actual P matrix size is of 20x20 and Q is of 20x1 and Y is of 20x1. I have written this ...
1
vote
2answers
72 views

frame tick label

I am making a framed plot. I want to remove some of the tick labels but display all the ticks. For example, I want {-1,0,1} as the the tick labels on the y axis but want to display all the ticks ...
5
votes
2answers
128 views

How to achieve faster performance on plotting complex valued functions

I'm very interested in visualizing complex valued functions $f:\mathbb{C} \rightarrow \mathbb{C}$. Especially interesting to me are Möbius transformations. I found a nice way of visualizing these ...
17
votes
1answer
254 views

What are the possible Method option values for plotting functions?

Many plotting functions have a Method options with descriptions like this: Plot: "the method to use for refining curves" ...
2
votes
1answer
132 views

Why would Evaluate[] in Plot give me warning about precision?

I have a code:- Plot[Evaluate@PDF[NormalDistribution[1.6, 0.2], x], {x, -6, 6}] And then I got the warning: ...
0
votes
1answer
79 views

How can I use options for a ParametricPlot3D?

Using this command I can plot three different curves using ParametricPlot3D ParametricPlot3D[{{t x, Sin[t x], 0}, {0 , Sin[t x], t x }, {t x ,Sin[t x], t x }}, {t, 0, Pi}, {x, 0, 4}] However, my ...
3
votes
3answers
65 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 ...
4
votes
3answers
87 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 (...
0
votes
2answers
93 views

Opacity or related issue with DensityPlot3D

I'm trying to make use of the function DensityPlot3D with the following specific example ...
1
vote
4answers
64 views

Area-colored phase diagram for various ranges of f(a,b), given the ranges of a and b

Is there a way to plot a simple diagram in Mathematica with colored areas, like a phase diagram, for the different ranges of values of a function such $f(a,b)=(1-a)/(b+2)$, for various combinations of ...
0
votes
0answers
28 views

Use Manipulate where there are fixed parameters and one varies in an interval

I manually give values to $R$ and I get different graphs similar to plant leaves. I would like to do it continuously, with Manipulate, in the interval $ 1.07\leq R \leq 1.71 $. Whether the leaf is ...
1
vote
1answer
34 views

ContourPlot a list of equations generated by the Table command

The first command below produces proper contour lines while the second command produces an empty plot. I would think that the two commands should produce the same output. What's going on? ...
1
vote
2answers
115 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 ...
0
votes
0answers
30 views

How to add a custom indicator to InteractiveTradingChart or TradingChart?

I'm creating a prediction algorithm for certain stocks and I wanted to plot the result of my predictor against the stock's history. I wanted to create my custom "indicator" to add to a ...
2
votes
1answer
47 views

Plot the symmetric part of a graph that was obtained from a data table

This is half of a leaf: ...
1
vote
1answer
103 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
77 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 ...
3
votes
1answer
120 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 ...
2
votes
1answer
55 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[...
9
votes
5answers
17k 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...
6
votes
2answers
108 views

Filling a listlineplot with a texture

Consider the following list ...
3
votes
3answers
93 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
139 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
449 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 ...
0
votes
1answer
60 views
3
votes
1answer
144 views

How to plot the hour of the sunsets

i have this code: ...
12
votes
1answer
809 views

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
86 views

Adding plot options after @ in ListLinePlot [closed]

How can plot options like PlotLabel and PlotRange be added after @ in ListLinePlot? For example: ...
1
vote
2answers
83 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?
0
votes
0answers
35 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
39 views

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

I tried ...
0
votes
2answers
61 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
71 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
61 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
75 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
212 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 ...
3
votes
2answers
283 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
35 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
89 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
38 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: ...