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
1 answer
39 views

Plotting a long and complex airy function

I try to plot an Airy function ...
user avatar
  • 237
0 votes
0 answers
51 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
-1 votes
0 answers
34 views

How to plot the vector field $\frac{1}{s}\hat{\phi}$?

I am asked to plot the vector field $\frac{1}{s}\hat{\phi}$ over the cylindrical coordinate system, however, I don't know how to plot, either the suitable plotting software. Any help please?
user avatar
-1 votes
0 answers
112 views

I can't find the reason for the flat chart [closed]

That's what I need to do. There is a function Φ[α,β,z] in which the replacement of k1 and k2 is used. Thus, an analytical representation of the integral characteristic of the solution of the problem ...
user avatar
  • 1
0 votes
0 answers
70 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
4 votes
1 answer
73 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
0 votes
0 answers
27 views

Use of Part alters line colours in Plot

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
43 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
  • 115
1 vote
1 answer
192 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
49 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
60 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
  • 1
0 votes
1 answer
57 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
80 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
64 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
1 answer
44 views

How to write divided differences in Mathematica? [closed]

The question is : use newton's interpolatory divided difference formula or to construct interpolating poly of degree one , two and three for the following data: f(8.4)=f(8.1)=16.944 ,f(8.3)=17.564 ,f(...
user avatar
0 votes
0 answers
53 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
357 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
28 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
223 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
46 views

Plot for DSolve in mathematica [closed]

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

Already generated plots missing in Show

...
user avatar
  • 41
1 vote
1 answer
79 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
44 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
234 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
128 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
80 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
  • 237
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
65 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,910
4 votes
1 answer
121 views

How to add ticks for mesh?

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

Plot marker at a specific coordinate? [closed]

I have the following plot: Plot1=Plot[Exp[-0.03*t],{t,0,100}] Is there an easy way to put a marker (say, a triangle) only at the point (0,50)?
user avatar
0 votes
0 answers
27 views

ListDensityPlot3D showing empty plot

Consider the following crudely implemented function ...
user avatar
  • 233
0 votes
1 answer
61 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
119 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.6k
1 vote
0 answers
30 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
62 views

PlotPoints does not work properly in ParametricPlot3D

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
79 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
162 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
1 answer
59 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
46 views

ListLinePlot: Options expected (instead of ImportCSVToDataset

I have the following code ...
user avatar
0 votes
1 answer
89 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
460 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
0 votes
0 answers
29 views

Problem using Axes Label [closed]

I want to generate a figure in which the X and I axis are labeled as time [s] and postition [rad], with the correspongind space. I have tried ...
user avatar
1 vote
1 answer
60 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
33 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
66 views

ListPointPlot3D

I'm plotting with ListPointPlot3D, but the plot is fuzzy. I don't understand why. Can you help? ...
user avatar
0 votes
1 answer
76 views

How to approximate a function using B-spline interpolation?

I would like to approximate a simple function of y = sin(x) using 3rd degree B-spline interpolation. The formula is: where D_j are the unknown real coefficients and B_(n,j) are the basis functions. ...
user avatar
0 votes
1 answer
41 views

Adding observation to time series

I download three time series from FRED: ...
user avatar

1
2 3 4 5
280