# Questions tagged [plotting]

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

16,134 questions
Filter by
Sorted by
Tagged with
306 views

### Coloring a function based on its monotonicity

I have a function f and I would like its graph to be colored based on its monotonicity. Specifically: Warm colors for the regions where the function is increasing, ...
54 views

### I have problem with my code [closed]

I don't know why it's not running this code : ...
• 451
1 vote
193 views

### How frequently is random number generated when plotting function containing RandomReal?

Plot[Sin[x + 0.1*RandomReal[{0, 2 Pi}]], {x, 0, 2 Pi}] ...
• 1,003
30 views

### Showing mouse position on ContourPlot curve dynamically

This is a function that shows mouse position on ContourPlot curve dynamically, but it seems to have wasted a lot of computing resources, making the program very sluggish. What can I do to make it more ...
• 11
1 vote
48 views

### Adding and formatting legends in Show with different kind of graphics

I would like to add a legend to a combination of plots obtained by Show. For example: ...
• 595
90 views

### Plotting HeavisideTheta

Imagine I have this function f(x)=x^2; f(x)*(HeavisideTheta[x-1]/4+3HeavisideTheta[x-3]/4) Does the discontinuity always exist? I mean regardless of f(x), just ...
• 345
1 vote
49 views

### Poincare section for a cigar shaped geometry

Here is the mathematica code that I am using to find the Poincare Section of a Cigar Shaped AdS-soliton background: ...
• 2,553
48 views

### How to color contour lines with functions [duplicate]

For example: a Implicit functions X^2 + y^2 == 1, i want to plot it and color it with function x + y to display the size of x + y in different positions on this Implicit functions. What should i do? ...
• 11
24 views

### How to hide regionfunction [duplicate]

I just want to show the part of the cylinder and hide the transparent regionfunction.What should I do?
• 11
110 views

### Plotting solution of a three body problem with given initial conditions

Disclaimer:I am not trying to find new solutions for the 3 body problem (3bp), I already have the initial conditions and I already know what configuration I should get. I am trying to create an ...
56 views

### Why Won't My Functions Plot? [closed]

I've been trying to graph a function with a domain between [-4Pi,4Pi], but the function can't be graphed as soon as I add Pi to the domain: So what's the issue here? Is there a workaround for this?
128 views

### Weird error in RegionPlot3D? [closed]

I am trying to plot a sphere with radius varying with the angles. Here is the code ...
39 views

• 21
67 views

### Plotting a graph for inverse sine

I want to make a graph of the arcsine function using Mathematica. The following figure was created using GeoGebra: What I've got so far is this ...
1 vote
33 views

### No ticks on the x-axis [closed]

Here is the graph that I've produced using Wolfram mathematica: I can't see the ticks on the x-axis. I don't know the command for it. I already attempted many times but got failed. Here is the code ...
399 views

### How to make a ParametricPlot3D into solid shape

so, how define the moment of inertia and center of mass of this frustum? I find this quite dificult, instead i can make this frustum to be a solid 3d and find the volume of the frustum code. so, the ...
• 71
1 vote
61 views

### DateTicksFormat -> Automatic different in 14.1 than in 14.0

In v Mathematica 14.0, the default automatic setting for DateTicksFormat in DateListPlot displayed the time on the horizontal ...
• 1,258
1 vote
101 views

### About a point in a piecewise function

I would like to create a graph as shown below using Wolfram Mathematica: This is what I've tried: ...
1 vote
70 views

### Solution Of 2D Logarithmic PDE In Periodic Potential In Imaginary-Time Propagation Method

I am trying to solve Eq.no.(8) from https://arxiv.org/pdf/2009.06804 and generate Fig. (3)-(4). The problem I am facing is that in imaginary time propagation method the solution is growing with time ...
37 views

### VectorColorFunction to use another function for the color

I would like to make a vector plot where the vector is a multivariable function of $x$ and $y$ and the color of the vector is another function (like the $z$ component of the vector effectively). Here ...
• 103
1 vote
114 views

### Histogram of angular data without edge aliasing?

I'm sampling angles which are known to have a certain density in $(-\pi,\pi)$ range (background). Using Histogram to visualize it creates an aliasing effect around ...
• 8,041
102 views

### Why can't an image be drawn?

Why doesn't this code draw the graph of the equation? ...
• 4,844
1 vote
57 views

### Parametric plot issue

I have a simple program, ...
204 views

### Continuously vary tube radius of parametricPlot3D depending on distance from origin

I'm doing a project trying to 3D print the stereographic projections of 4D shapes, and I need it so that the lines are thinner towards the origin for structural reasons. I've written functions to do ...
1 vote
88 views

### Removing white regions from density plot

I am trying to use a density plot to show the value of a function, but I get white regions that I don't know how to get rid of. I have used several questions and answers in this website and have ...
• 193
169 views

### Duffing Equation:Transition to Chaos

I create the following code but the results were not that I expected for. The paper I study is Duffing Equation My code gives me the following. But I want a smoother and clearer plot. What should I ...