# Questions tagged [plotting]

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

14,247 questions
Filter by
Sorted by
Tagged with
18 views

### How to speed up a plot?

I'm trying to plot the solution of a non-linear equation, but it's very, very slow. From what I could gather, it's not finding the solution that is time consuming, so I cannot quite understand the ...
• 403
30 views

### How to Plot a graph with respect to time

I am new to wolfram Mathematica. Can someone please assist by showing me how I can plot “d” shown in The screenshot with respect to time, graphically?
42 views

### How to adjust the shape of some multiple edges of a graph separately?

The graph we drew below using TikZ is easy. ...
• 1,069
28 views

### How to plot the derivative of a piecewise discontinuous function (by excluding discontinuity points)

With the following code I am trying to get a plot for the derivative of the ftot1 function, which is a piecewise discontinuous function defined as the sum of other two piecewise discontinuous ...
• 1
1 vote
38 views

### ListLinePlot showing the wrong domain and not starting at zero

I am trying to plot a graph that starts at zero from a list using ListLinePlot. The code: ...
28 views

### Formatting BoxWhiskerChart: rotate label, remove extra ticks, center legend

I am having a problem with a couple of things in this grouped box chart. Using following data I can plot a grouped box-whisker chart (example): ...
• 713
85 views

### How can I visualize this complex geometry with mathematica?

Let $\varepsilon$ be a complex number of small magnitude and let $1+\varepsilon$ have magnitude $r$ and argument $\theta$. I want to generate the following image in Mathematica: and then I want to see ...
• 357
68 views

### Generating a large number of data points of a function subjected to multiple constraints

In continuation to my previous question, I have (a slightly modified) function f[x_,y_,z_,a_,b_,c_]:=x^2 a b + xy b c+ yz c a + z^3 abc , and I want to randomly ...
• 497
54 views

### Why does this plot not work when changing variable range?

This works. Plot[ConditionalExpression[2 - 3 x, 1/3 <= x <= 1/2], {x, -3, 3}] But if you change the range it does not work. ...
• 2,392
83 views

### How to plot a graph from two lists of data, range or array

I am trying to do a numerical integration in Mathematica for a basic spring problem. In short, I calculate in loop and save two list of numbers (values of times and positions) and after loop, I want ...
1 vote
96 views

### Evaluate an integral over a range of initial values

I have an integral that I would like to evaluate over a continuous range of lower limits and plot the result. I can't figure out how to tell Mathematica to do this. Q_c(u) = \frac{2\pi}{c^2} \left(\...
236 views

### Making space between two tables

How can we make space between two tables arranged in the columns and each table contains four columns? Kindy let me know? I want this kind of table. Kindly let me know. I want it in latex?
1 vote
40 views

### How to better display the data using ComplexListPlot?

I'm trying to plot the solution of the equation with ComplexListPlot but the plot of the data points are small and hard to see. Do you have any idea to display it better and easier to see the data? <...
• 2,392
95 views

### Plot eigenvalues of a matrix with two variables [closed]

I am trying to plot eigenvalues E(kx,ky) of the matrix [mat] depends on two variables kx and ky and of course n its dimension , and the matrix elements a, b and c depend on cos(kx) ; cos (ky) and cos(...
• 19
68 views

### Splitting a data set into multiple parts

The Problem I am trying to split a data set into multiple parts - thanks to help in the past, this has been done before into 2 parts, but I would like to extend this functionality into multiple parts (...
• 471
51 views

### bV diagram of TE modes guided by waveguides with a linearly tapered index profile

I have an equation and I have tried solving it to find values of $b$ but it doesn't give me the same figure as in the book Foundations for guided-wave optics by Chin-Lin Chen. The equation that I have ...
• 31
77 views

### Optimizing the FrameLabel size and PlotStyle

Here is the code I use to plot a graph ...
• 179
54 views

• 165
192 views

### Monte Carlo Simulation of Charged Particles in Non-Uniform Electric Field

I have a code (provided below) which simulates the motion of an ensemble of charged particles which are subjected to a complex static electric field which passes through some aperture in a metallic ...
• 353
1 vote
63 views

### Set transparency of the legend background in a plot

It is known that the instruction LegendFunction can be used to set the background color of the legend in a Plot or ...
48 views

### Plot automatically set to zero when Dynamic function is updated

I'm trying to write a script that will dynamically update when I change the tensor that I am working with and the interval tensor elements. Whenever I update the tensor elements that I am working with ...
• 25
52 views

### Using RegionFunction on a Polar Parametric Equation to Slice Surface in R3

I'm doing a visual graphing project in Mathematica and am building a rose. I've made most of it by slicing different regions of rotation using RegionFunction->[{x,y,z},x^2+y^2<4}]. Instead of ...
71 views

### ContourPlot output dependent on bounds

I have a function for an ellipse that depends on time: ...
• 175
60 views

### streamplot for differntial equation

how I can use StreamPlot or VectorPlot to show x[t] and 1-x[t] and show convergence point in my plot with a different colour like a blue point? ...
• 55
36 views

### Change color of overlapping convex hull and original function

I am trying to demonstrate how the convex hull for my function and using the following formula for that (where the first inequality is the original function, and the second one is its convexified ...
• 81
87 views

### Why isn't the vector field being plotted over the entire torus?

I am trying to plot a vector field over a torus. Here is my code and the image it produces: ...
• 155
47 views

### Callout is out of frame

In the documentation of Callout, there is an example, ...
• 16.2k
38 views

Code: ...
• 287
1 vote