# Questions tagged [plotting]

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

15,610 questions
Filter by
Sorted by
Tagged with
213 views

### How to explicitly set horizontal coordinates when plotting multidimensial Table using DateListPlot?

I'm trying to plot a multidimensial data table which is stored in csv file. Like so: ...
71 views

### Problem in using FrameTicks option in DateListPlot command

everyone. I have prepared a code in which a file of data to be called and its data will be used to make a plot. I wanted to divide the x axis, as I needed but the output is not what I need. I want to ...
146 views

### Solving equations involving NIntegrate

First, I have defined some functions like ...
180 views

### Plotting a distribution of charge into a sphere? [duplicate]

I have defined a function $\sigma(\theta, \phi)$ (With the same angles defined by spherical coordenates) for the induced charge on a sphere with constant radius $R$, but my problem lies that I dont ...
96 views

### How to plot a function defined in considerable time with Plot3D

I'm trying to plot a function as follows: ...
26 views

### Densityplot gives unexpected result [duplicate]

I want to plot the density of this function: ...
96 views

### How to have a 2D icon (imported image) as a 3D point in a table of points?

I'm following the tutorial on RandomPoint seen here: ... 137 views

### error with NDSolve

I'm trying to plot u as a function of t by NDSolving a set ODE's The problem is like: Parameters: ...
186 views

### Datelistplot and datasets. Plotting several time series with mapping functions and adding options

Following the post How do I plot multiple time series from a Dataset?, I have additional questions. I have a dataset with four columns. First is the date. 2nd to 4th are values (v1,v2 and v3). ...
103 views

### Finding all pairs of common tangents in a curve

My question is kind of an extension of a question asked previously (Common tangent to a curve) . The difference is that(instead of just one pair) I need to find all pairs of common tangents to a plot. ...
1k views

### How to use mathematica to maximize a function of two variables with respect to one variable, and get the corresponding function for another variable [duplicate]

formally, what i want to do is to maximize f(x,y) with respect to y. so i can get another function $f^*(x)=max_y(f(x,y))$, which means the maximum value for all y at a fixed point x. if it is not ...
163 views

### Vectorize the ticks labels of the legend of a histogram density plot

From a previous post Remove artifact of PDF images I am using the following function: ...
121 views

### Exporting a SmoothDensityHistogram[] to PDF gives a result with large file size

I have the following plot code ...
131 views

### Numerical errors in Plots

I am having quite a bit of trouble with some plots I am trying to create. Basically, as I decrease a positive parameter 'mu' to below 10^-8, my ListPlot3D plots are becoming fuzzy and eventually just ...
99 views

### PlotRange working only with some ListDensityPlots

I'm trying to compare simulated data to the recontruction of said data by a program I made after adding noise to the data. My original data is stored in a matrix called ...
173 views

### Unexpected black lines on the edge of a RegionPlot3D

I want to create the following 3D solid object, which is an octahedron, cutting by six spheres centered at its vertices. The code is as: ...
22 views

### Why does Plot of Table uses the same color rather than Plot of explicit List? [duplicate]

The command Plot[{Sin[x], Cos[x]}, {x, 0, 10}, PlotRange -> {0, 1}] plots i.e. different functions plotted with different colors. Simultaneously ...
88 views

### Plotting DSolve solution on Vector Field [duplicate]

I created a Vector Field for the given problem: Then I solved the problem with certain parameters using the DSolve command, receiving this solution: I want to know how I can plot this solution on my ...
77 views

### Could not combine error [duplicate]

I used below code to combine two objects, but there is an error: Could not combine the graphics objects in Show The code is: ...
365 views

### Plotting vector field using StreamPlot of VectorPlot doesn't work properly in some cases

I tried to plot a vector field in a determined region by two methods: 1- VectorPlot and 2-StreamPlot: ...
468 views

### Contour Plot using NDSolve

I want to make a contour plot of the function $S$ using the following code taking $x$-asis along the horizontal and $y$-axis along vertical. ...
96 views

77 views

### How do I plot multiple lists that were assigned variables created in an iterative fashion from a larger matrix?

I have a 70x16 array of values ("DATA22K") imported from a .xls spreadsheet, with the x-values (time) being column 1, and the fluorescence intensities of 15 samples (over time) being columns 2 thru 16....
30 views

### Why does Mathematica use a dashed line for a contour line with this specific value? [duplicate]

I am trying to draw the contour lines of the following function, but I don't understand why the contour lines with value 0.5 and -0.5 are shown in dashed lines. $f(x,y)=\dfrac{xy}{x^2+y^2}$ ...
83 views

### Difficulty plotting a null cline [duplicate]

Problem Statement Pplane produces this phase plane portrait: Note the yellow line which represents the locus where $\dot{y}=0$. My attempts to recreate this plot in Mathematica have failed. The ...
61 views

### Plotting 'partial' dashed lines along selected intervals for a curve represented by any arbitrary function

I have fixedpoint = x /. Solve[f[x] == x && -1 <= f[x] <= 1, x] The stability of the fixed points are governed by the absolute value of the ...
27 views

### Plot3D including units [duplicate]

I am trying to plot a 3D plot with a formula containing units. When I put the formula explicitly it works: ...
45 views

...
89 views

### Plotting a partial sum with imaginary numbers on exponentials

Exercise Given Given $\qquad f(x)=\sum\limits_{n=-\infty}^{\infty}f_{n}e^{i\,n\,x}$ where $\qquad \left \langle f,g \right \rangle = \frac{1}{2\pi}\int_{-\pi}^{\pi}f\,g^{*}\,dx$ ...
39 views

### Add legend in a Graphic inside a Manipulate [duplicate]

I use this manipulate: ...
515 views

### Plot Legends size

I use 2 similar Manipulate: the difference between one and the other is only the function that they draw. ...
296 views

160 views

### Why is this not a circle? [duplicate]

sols = y /. Solve[(x - 4)^2 + y^2 == 4, y]; Plot[sols, {x, -5, 5}, PlotStyle -> Blue, AspectRatio -> 1] When I plot it, I would expect a circle centered at ...