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
2 votes
1 answer
85 views

not being able to find the a good picture of the intersection of two surfaces

I'm having trouble finding a good picture around the origin of the intersection curve of the following surfaces $z - \dfrac{x^2}{2} - \dfrac{x^3}{12 \sqrt3} + \dfrac{y^2}{2} + \dfrac{x y^2}{4 \sqrt 3}=...
user avatar
2 votes
1 answer
71 views

Define functions on Geographic regions

Let's plot a parametric function $(x_s(u,v), \:y_s(u,v))$ on some $uv$ domain as shown below with an annulus as example. ...
user avatar
2 votes
1 answer
66 views

On multiple ListPlot

Suppose that I have a following data: tab = {{1,2,-3,5}, {5,-2,3,1}, {2,0,4,5}}; I want to make a ListPlot based on ...
user avatar
0 votes
1 answer
91 views

Is there any alternative for Manipulate or Animate?

I have a project to animate heat equation in 3D. I have the following problem $$u_t=u_{xx},\qquad 0\leq x\leq 1 \land t>0$$ $$u(0,t)=u(1,t)=0$$ $$u(x,0)=\begin{cases} 2x, & 0\leq x<\frac{1}{...
user avatar
0 votes
1 answer
46 views

I plot these two functions by Matlab but the phase of the both of them look likes strange and I think the plot of the phase is wrong in both of them [closed]

I plot these two functions by Matlab but the phase of the both of them look likes strange and I think the plot of the phase is wrong in both of them can you help me to correct these figures the first ...
user avatar
  • 1
3 votes
1 answer
117 views

What Kind of plot is this one? [closed]

What kind of plot is this one? How to build one of these? This is a dataset with bins with different sizes. Plot taken from http://go.warwick.ac.uk/wrap/77362
user avatar
0 votes
1 answer
137 views

How to remove error in NIntegrate

I want to solev NIntegrate in two dimension. But when i run the code i got Throw::nocatch: Uncaught Throw[-HolonomicDifferentialRootReduceDumpy[NIntegrateLevinRuleDumpx]+(...
user avatar
0 votes
1 answer
64 views

Plotting a long and complex airy function

I try to plot an Airy function ...
user avatar
  • 269
0 votes
0 answers
69 views

Roots of a transcendental equation with unknown a complex number

I am trying to solve a problem and I got stuck with a complicated transcendental equation. I intend to find these roots. Here, $\omega$ is a complex number, whose imaginary part can be positive or ...
user avatar
0 votes
0 answers
79 views

A problem with ParametricPlot

I have a problem with rendering d3 (blue color), at the points of intersection of the red curve it makes vertical blue stripes, how do I fix it? Picture: ...
user avatar
5 votes
1 answer
95 views

Draw phase line associated to slope field

I have an autonoous differential equation dx/dt = x(1-x) dxdt[x_] := x*(1 - x) I plotted the slope field with a few solutions (left) and the constant solutions (...
user avatar
  • 77
0 votes
0 answers
29 views

Use of Part alters line colours in Plot [duplicate]

I stumbled upon some odd behaviour in Plot that does not really make sense to me. I stumbled on it with a more complicated scenario, but a distilled demo is below. ...
user avatar
0 votes
1 answer
50 views

3d Contour Plotting

I would like to plot three 3D-contour plots in the region $x,y,z >=0$ and $x+y+z<1.$ The functions which I would like to plot are as follows ...
user avatar
  • 153
1 vote
1 answer
208 views

Is it possible to separate two signals in Mathematica?

I have asignal and I would like to decompose it into two.. this is the datasetTot of both signals ListPlot[datasetTot, PlotStyle -> {Black, Black}] I know ...
user avatar
0 votes
0 answers
60 views

Combine two contour plots with region function in one with common bar legend

I have the following two contour plots ...
user avatar
0 votes
1 answer
75 views

How to plot 3D spherical graph using x y data?

I have a problem in which the temperature is given at different radius for spherical ball. The temperature does not vary in theta and phi direction. The 2D representation is shown below: The radius ...
user avatar
  • 3
0 votes
1 answer
72 views

gen 2 and 3 surface generation [closed]

Is there someone who uses Mathematica, and can help me to generate these images for a project? We don't have free access from the university and I can't find other free generators to be able to ...
user avatar
2 votes
1 answer
87 views

Plotting, Integrating two variable function with cross-restricted domain

Hello, I have two problems. the first is plotting 3D function, the domain is "0<x<y<1". (I could find examples like integrating function with domain 0<x<1, 0<y<1, but I ...
user avatar
  • 135
0 votes
1 answer
78 views

Custom frame ticks in listplot

i am trying to ListPlot some data extracted from the approximation of a complicated function. The minimal code is the following ...
user avatar
0 votes
0 answers
54 views

How do I switch around the axes?

I imported a csv file (in the long format) in a nested list format where each nested list is a row in the data frame I used ListPlot3D but I want the x & y axes to start from 0 and 0 (I want to ...
user avatar
  • 1
5 votes
1 answer
370 views

How to use PlusMinus properly?

As an easy exercise, I would like to define a function $$f(x)=\pm x$$ and be able to ListPlot the function for some discrete values. Here is what I tried ...
user avatar
0 votes
0 answers
29 views

Inline labels in a plot

Not quite sure if this is even possible, but I assume this is the right place to ask. In Python, as discussed on this question, it is possible to add the corresponding labels directly over each line, ...
user avatar
7 votes
2 answers
237 views

Scalloped edges to Plot3D with Disc domain

I'm running into problems with a weird edges to my Plot3D with a Disc domain. MWE: ...
user avatar
  • 73
0 votes
1 answer
55 views

Plot for DSolve in mathematica [closed]

I don't Plot it's not working!!, can you help me? ...
user avatar
-5 votes
2 answers
101 views

Already generated plots missing in Show

...
user avatar
  • 33
1 vote
1 answer
83 views

Again there are some holes in my plot

I am trying to make a 3D plot of an expression but the the plot has some holes in it. I have asked a similar question before according to which I should adjust my ...
user avatar
  • 105
0 votes
0 answers
38 views

Rotating only one of two plot labels?

I have the following plot: ...
user avatar
3 votes
1 answer
46 views

Making a plot half the width and height of another plot?

I have the following plot: P1=Plot[1000*Exp[-0.03*t],{t,0,100},Frame->True] Is there a simple way to make another plot whose frame is is half the width and ...
user avatar
5 votes
5 answers
245 views

Finding the height and width of a plot?

I have the following plot: Plot[x^2,{x,0,100}] Is there a function that determines the plot's current height and width? And how can I change these dimensions?
user avatar
2 votes
2 answers
132 views

Adding a second legend to Plot?

I have the following plot: Plot1=Plot[Exp[-0.03*t,{t,0,1000}]; Show[Plot1,LineLegend[{Black,Gray,Cyan},{"test1","test2","test3"}]] ...
user avatar
2 votes
1 answer
94 views

How to write a specific Bessel function in Mathematica

I want to plot the following function on Mathematica, and I gave it a go on wolframalpha. Bessel[n,z] is the usual form, but I am not sure how to use this to compute the following plot: \begin{...
user avatar
  • 269
0 votes
0 answers
27 views

Overlaying colors in ParametricPlot

I have tried to make a parametric plot with transparent regions, but the color is different in the region where the plot overlaps itself. How can I make it the same color in the entire plot?
user avatar
1 vote
1 answer
68 views

How to fix vertexnormals to eliminate a little shadow on the sphere?

I am using the method here to draw a sphere, if VertexNormals is set, there will be a little shadow on the top of the ball. I'm not familiar with VertexNormals' ...
user avatar
  • 4,932
4 votes
1 answer
130 views

How to add ticks for mesh?

I'm trying to reprocedue this plot with Mathematica and got some problems. ...
user avatar
  • 1,862
0 votes
0 answers
28 views

ListDensityPlot3D showing empty plot

Consider the following crudely implemented function ...
user avatar
  • 233
0 votes
1 answer
62 views

Numerical Plot for an example

I would like to compare the numerical and analytical solution with plot for this example but something is wrong I don't know how to fix it?!! ...
user avatar
5 votes
2 answers
122 views

Lighting a ListPlot3D with a Texture

I want to apply Lighting to some ListPlot3Ds with Texture applied, but it's not taking as it ...
user avatar
  • 17.7k
1 vote
0 answers
31 views

Placing plots around a circle with SectorChart

I need to position some graphs around a circle so that each occupies a sector. There're 18 graphs in total and the first five are shown below: ...
user avatar
  • 1,252
1 vote
1 answer
63 views

PlotPoints does not work properly in ParametricPlot3D [closed]

I want to get surface with "bad" quality, so I decrease number of sample points in both parameters: ...
user avatar
  • 577
-2 votes
1 answer
81 views

How to connect 100 random points on a ring through the shortest path?

I would like to generate 100 random points on a ring and connect them through the shortest path. The appropriate ordering function is also needed. It should look like this: and then this: Could ...
user avatar
2 votes
1 answer
172 views

Numerically solving transcendental equation for a range of values

I'm new to Mathematica, and I'm trying to solve for corresponding Ef values for a range of T values in the transcendental equation: p = n + Nd. hbar = 6.5821*10^-16 ...
user avatar
  • 23
0 votes
2 answers
98 views

How to plot functions from user input?

Manipulate[g[x_] = f; Plot[{g[x], g[2]}, {x, -9, 9}], {{f, "Enter a function...", "f(x) ="}}] Hi, I'm relatively new to Mathematica and this ...
user avatar
  • 1
0 votes
0 answers
50 views

ListLinePlot: Options expected (instead of ImportCSVToDataset

I have the following code ...
user avatar
0 votes
1 answer
96 views

Beautiful Color Schemes for 3D Plots [closed]

I need to plot a number of 3D graphs for my project and I want the plots to appear beautiful. I have used the following color functions for my plots but none of them seem to impress me: CMYKcolors, ...
user avatar
  • 105
1 vote
0 answers
39 views

ContourPlot of function returning blank [closed]

I am trying to use ContourPlot to plot a relationship but am not having any luck. When I run: ...
user avatar
  • 11
2 votes
1 answer
505 views

Build a 3D heat map plot from 4D data

Can we make a contourPlot3D plot like given here using these values? The value of x range from 0 to 8, y range from 0 to 1 and z range from -1 to 1 for my data. This plot I got from another post but ...
user avatar
2 votes
0 answers
38 views

Problem with Show [duplicate]

I have the following code that generates two 3-D graphs. When I try to visualise the graphs together with Show command only the first one is shown. I interchanged the order but still it shows only the ...
user avatar
  • 31
1 vote
1 answer
61 views

How to avoid holes in combined 3D Plot and 2D Plot [closed]

I am trying to combine a 3D plot and a 2D density plot such that the 2D density plot appears as a shadow of the 3D plot but when I use the 'slicedensityplot' command, the plot appears with holes in it....
user avatar
  • 105
0 votes
0 answers
35 views

Plotting contours of a two-variable function containing a sum

I'm trying to use Mathematica to plot contours of a rather intricate two-variable function. The equation describes the velocity profile for laminar flow in a tube of rectangular section, namely: $$ {w^...
user avatar
  • 21
0 votes
0 answers
72 views

ListPointPlot3D

I'm plotting with ListPointPlot3D, but the plot is fuzzy. I don't understand why. Can you help? ...
user avatar