# Questions tagged [plotting]

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

13,407 questions
Filter by
Sorted by
Tagged with
22 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: ...
48 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
74 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 ...
53 views

### Evolution of different species of universe

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(φ)) φ''...
206 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! ...
52 views

### Plot with Dsolve

I am trying to plot the solution to the Dolve at a position /. x -> 0 ...
133 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 ...
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. ...
113 views

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, ...
81 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 ...
132 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 ...
113 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 <...
127 views

### How to add errors in PairedBarChart?

I have: data01 = {0.012844725279853909, 0.023794357025920716}; data02 = {0.01740189577795908, 0.027023265047026828`}; and, ...
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 ...
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 ...
107 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 ...
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. ...
66 views

### DSolve and Plot [closed]

I was working on this equation to solve and plot it, but I'm little bit confuse?! ...
207 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 ...
43 views

### ContourPlot3D with variables within a ball [closed]

My attempt is (Mathematica 12.0) ...
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. ...
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: ...
71 views

### How to check numerical values on a plot? [closed]

Suppose we have the model: ...
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 &...
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 &...
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 ...
62 views

### Remove part of TemperatureMap Color function

I am using here some random contour plot as an example. I have this ContourPlot: ...
49 views

### Contour plot of a constant y? [closed]

I have the following data points, ...
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: ...
45 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[L,w], in the variable {L,w} in the range,...
57 views

### How can I change the visualization of a ListPointPlot3D? [closed]

I have the following code ...
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 ...
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}{...
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 ...
85 views

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

I am trying to plot a damping solution with LogLogPlot ...
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}}]; ...
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 ...
28 views

### newtons method using newton method examine the convergence as a function of complex starting [closed]

[![enter image description here]
51 views

### Having trouble plotting sin functions [closed]

I'm trying to find the equation of a tangent line and plot the original function and the tangent line equation on the same graph. I can find the tangent line equation just fine but I'm having trouble ...
39 views

### Encountered SystemException["MemoryAllocationFailure"] while trying to plot a function

I have an expression that simplifies to the following expression, which I denote as a function X. ...
55 views

### How adjust the ratio between the units of axes?

Initially I thought that the function AspectRatio-> calibrated the ratio between the units axes, e.g. putting AspectRatio->1/2 I thought that the ratio x:y between units of the axes would be 1:2,...
60 views

### How to display Parametric plots in different regions together?

I cannot find how to plot the branches of a 'ParametricPlot' in different colors ...
39 views

### Is possible to put multiple independent legends into Graphics?

In the following Graphics I'd like put on the left and below another legend where I indicated the scale of the plot: I tried to do this putting into Inset the command PlotLegends->{} but ...
181 views

### How to manipulate the colours when joining points in ListPlot

Suppose I plot out two sets of data on the same graph as follows: ListPlot[{{{1, 1}, {2, 2}, {4, 4}}, {{3, 3}, {5, 5}, {6, 6}}}] The colours of the points change ...
136 views

### There is a way to put a legend into a graphics?

There is a way to put a legend into a graphics? For example, given the Graphics ...
102 views

### Orbit integrator / Keplerian orbit

I want to integrate a circular Keplerian orbit with GM = 1, a = 1 over 100 orbital periods. But the thing is that I can only make the Orbit change when I change a. And the Orbit remains the same when ...
50 views

### Problems with ParametricPlot3D options

I have the following code: ...
50 views

### Densityplot with two argument function

I want to plot the heat map of a two-variable function which has two arguments, but the function is continuous on the transition line. However, the densityplot put no color on the transition line. ...