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
5
votes
4answers
60 views

Connecting dots in ListPlot3D in specific ways

The output of ListPointPlot3D is shown below: I only want to connect the dots in such a way that it forms a ring-like mesh. However, when I use ...
0
votes
1answer
43 views

How to plot random impulse train?

How to plot a random impulse train with random height and space? From the following code, I was able to get a random height graph and a random interval space graph. ...
0
votes
0answers
60 views

Plotting a pointed star [closed]

How do I plot x^(2/3)+y^(2/3)=1 over -1<=x<=1, -1<=y<=1? It should look like a 4 pointed star. I tried in Mathematica but my code is not working. Can someone please help.
0
votes
0answers
23 views

Output problem to define a Table with the valued assumed by an interpolating function

I have a little Input/Output problem defining a Table with the values of an interpolating function. I create the points to interpolate: ...
5
votes
3answers
272 views

How to fill the first region enclosed by a self-intersecting parametric curve

For an arbitrary self-intersecting parametric curve, how to construct the region at its first intersection. Thanks! ...
0
votes
1answer
60 views

Evolution of different species of universe [closed]

Very poor knowledge of coding and Numerical solutions. please any body help me. I want to solve the following equations (a'[t])^2=(-κ/3)*(-(φ'[t])^2+V(φ)) a''[t]/a[t]=(-2κ/3)(1+3ω)((-Φ'[t])^2+V(φ)) φ''...
0
votes
1answer
55 views

Plot function not working for a simple funciton [closed]

I am trying to plot a function as simple as you can see, I've tried many ways but for some reason it doesn't work ` The plot coordinates dont even shown up
3
votes
3answers
725 views

Plot a specific branch of a multi-valued complex function

Let's say I want to plot a branch of the following function $f(z) = \sqrt{z(z-1)}$. Let $z = r_1 e^{i\theta_1}$ and $z-1 = r_2 e^{i\theta_2}$. How can I tell Mathematica to plot the branch for which $...
5
votes
2answers
108 views

Get parametervalues from ParametricPlot?

From an examplary plot plot = ParametricPlot[{1 Cos[s] , 2 Sin[s]}, {s, 0, 2 Pi}] I know how to get the plotted points ...
5
votes
2answers
85 views

Issues with contour labelling

Bug introduced in 8 or earlier and persisting through 12.3.1 or later At least two previous questions, 109778 and 13545, have identified bugs in contour labelling. Here are two more. I would welcome ...
0
votes
0answers
48 views

how to find the FWHM of a peak from an equation and not data set? [closed]

I want to find the FWHM of a conductance peak I created on mathematica (see Figure). until now I used the FindMaximum to calculate the max of the peak. ...
0
votes
1answer
41 views

How to plot maximized values over a range under different initial conditions?

I tried to plot maximized value over a range a\in [0,1] for different initial conditions b=0.2,0.3,0.4,0.5, but it does not work. Could anyone please help to work it out? pi:=2 b + (x + y -b)(3-x)/3- ...
0
votes
1answer
84 views

Volumes of solids via rotation of regions between two 2D functions [closed]

I'm trying to see if Mathematica can simplify/automate finding the volume when the area between two 2D functions is rotated about an axis. For example: What is the volume of the solid when we rotate ...
0
votes
1answer
86 views

How can I use a logarithmic ScalingFunctions with ListContourPlot and DataRange? (i.e. no x- and y- inputs given)

There appears to be a bug in plotting, using ListContourPlot with ScalingFunctions->{"Log","Log"} and ...
2
votes
2answers
54 views

Plot with Dsolve

I am trying to plot the solution to the Dolve at a position /. x -> 0 ...
4
votes
2answers
135 views

Colouring 3D columns defined by a piecewise function

I am using a piecewise function to define the height of columns. My goal is to make a nice picture that illustrates the different heights of the columns using color. Below in the picture I have ...
5
votes
2answers
130 views

How to add errors in PairedBarChart?

I have: data01 = {0.012844725279853909`, 0.023794357025920716`}; data02 = {0.01740189577795908`, 0.027023265047026828`}; and, ...
6
votes
3answers
118 views

How to Add PopupMenu in manipulate?

Manipulate[Column[{ Plot[Sin[a x], {x, 0, Pi}], Plot[Cos[a y], {y, 0, 2*Pi}], Plot[Tan[a z], {z, 0, 3*Pi}]}], {a, 1, 10}] I want to put a popup menu here as Sin, ...
2
votes
2answers
289 views

Plot a data of four dimension

I have a confusion recently about the visualization of data with four dimension,like as {x,y,z,color}. This is my current solution. ...
4
votes
1answer
140 views

Plot a double integral

I'm trying to plot the result of a double Integral Plot[ Integrate[Integrate[x^7 (x - 2)^4 (x - 3)^9, x], x] ,{x, -10, 10} ] Results in a 22-degree ...
0
votes
1answer
67 views

How can I get the power spectrum density and separate low and high frequencies?

Good day everyone, I'm new in mathematica. I got these values over time (each value was obtained every 100 milliseconds): ...
4
votes
2answers
114 views

Filling region with a pattern

I'm trying to fill the region to the left of a vertical line with a pattern (Diagonal is enough for my purposes) and a different pattern to the right. I've tried <...
3
votes
1answer
57 views

"Continuous" change of viewpoint from 2D to 3D view

I want to create a sequence of 3D plots so that a polygon lying in the plane z=0 is initially viewed from above (so that it looks like a 2D plot) and in the end from the standard viewpoint. I tried to ...
3
votes
2answers
58 views

Blank plot with numeric data

I seem to be getting a blank plot even though the data provided is clearly numeric and plots fine with other data. I just don't see what is special about this data that results in a blank plot. ...
4
votes
2answers
108 views

Why is RegionPlot@ImplicitRegion taking so long to compute?

I have an equation as a function of $a$ and $\theta$ and would like to visualise the intersection between this graph and a flat plane at a height of 1 unit. I tried using the ...
1
vote
4answers
159 views

Why can't mma be drawn in continuous form with the Fibonacci number general formula? [closed]

Of course, I know I can use Plot and DiscretePlot plot the built-in Fibonacci[x], but why ...
2
votes
1answer
113 views

Combining VectorPlot and Graphics3D

I have a simple VectorPlot3D VectorPlot3D[{x, y, z}, {x, -1, 1}, {y, -1, 1}, {z, -1, 1}] Can I substitute the default arrows with Graphics3D object like: ...
5
votes
4answers
210 views

DensityPlot3D with clear division negative/positive value but also value dependent

It is easy to obtain a clear positive/negative boundary, with, exemplary ColorFunction -> Function[{f}, If[f > 0, Red, Blue]] Do you have an idea how I can ...
0
votes
1answer
67 views

DSolve and Plot [closed]

I was working on this equation to solve and plot it, but I'm little bit confuse?! ...
0
votes
0answers
43 views

ContourPlot3D with variables within a ball [closed]

My attempt is (Mathematica 12.0) ...
0
votes
1answer
74 views
1
vote
1answer
89 views

Changing the Style of different lines in PlotLabel

The following code renders a chart (shown further below). How can I achieve the styling descibed in the chart's title? ...
0
votes
0answers
41 views

Can anyone tell me why the graph that's output is blank? [closed]

When the code is run it outputs a blank graph with the x and y axis both ranging from -1 to 1. ...
1
vote
0answers
41 views

Plotting a user-defined function with NMaximize

I am not sure what is going on with this plotting. I see that the following code works: ...
1
vote
0answers
53 views

Render image sequence in .png with trasparent background in WM

I make the premise that I am a newbie to WM. I need to render a sequence of 2d graphs in .png format with transparent background, the function depends on two variables that for simplicity I will call &...
4
votes
0answers
72 views

Do StreamPlot and VectorPlot work with Piecewise?

Executing StreamPlot[{Piecewise[{{-1, z < -1}, {z, 1 >= z && z >= -1}, {1, z > 1}}] , -x}, {z, -5, 5}, {x, -5, 5}] , I see an error message &...
0
votes
0answers
46 views

Rendering problem of a 3D plot [closed]

i have a little graphic problem. I had generate an interpolation function (with function Interpolating[...,Method->"Spline"]) called intspettro[1][L,w], in the variable {L,w} in the range,...
2
votes
2answers
99 views

ParametricPlot inside of ParametricPlot

I don't know why the following is not working! The code has a function y[x] then I have g[t] then I want to plot ...
4
votes
1answer
62 views

Remove part of TemperatureMap Color function

I am using here some random contour plot as an example. I have this ContourPlot: ...
0
votes
0answers
49 views
0
votes
1answer
57 views
0
votes
1answer
45 views

2 equations 3 unknowns. Implicit 2D Plot?

I have a hopefully simple question which I could not find any solution to yet: With two equations in three unkowns x,y,z I would like to plot their solution in x,y space. I cannot get rid of z ...
2
votes
3answers
364 views

Plot solutions to a trigonometric equation on the unit circle

For example, when solving the equation $$\sin(13x)+\sin(9x)=\cos(2x)$$ (by hand) you get the solutions $$ x= \begin{cases} \pm\tfrac{\pi}{4}+\pi n,\\ \tfrac{\pi}{66}+\tfrac{2}{11}\pi n,\\ \tfrac{5\pi}{...
0
votes
0answers
39 views

Generalities on the exponential Functions [closed]

The number denoted by e in classical mathematics is denoted by E or E in Mathematica . The symbol e is just a variable name. You can find E on the Basic Math Input Pallete. Problem 1 a:Plot the ...
0
votes
1answer
85 views

How to plot a smooth LogLogPlot of an oscillatory function having damping

I am trying to plot a damping solution with LogLogPlot ...
0
votes
2answers
111 views

How can I plot function density plot Hyper-geometric /Bessel function with complex arguments?

I am interested in the plot of a function in terms of hypergeometric and Bessel function with complex arguments, Here, it is my code, but the result is incorrect, the solution must be defined every ...
0
votes
1answer
88 views

Mathematica ParametricPlot3D: plotting close surfaces

I am plotting two surfaces in Mathematica: green and yellow using ParametricPlot3D. Their intersection is the red curve. However, in the vicinity of the intersection curve, the colors and meshes mess ...
3
votes
0answers
653 views

Integration error from Plot3D

I am trying to visualize diffusion distribution from an equilateral triangle with 45 degrees. Assuming that diffusion is a Gaussian with sigma=1 this should do: <...
0
votes
1answer
37 views

Difficult on integration the normalization of a piecewise function

I have a little problem; I have defined the following Piecewise-function in the variables {x,L,w}: f[x_, L_, w_] := Piecewise[{{x w (L - x), 0 <= x <= L}}]; ...

1
2 3 4 5
269