# Questions tagged [graphics]

Questions on the construction of 2D and 3D graphics through the direct use of primitives, directives, and functions. Include the graphics3d tag for questions specifically on 3D graphics. This tag is not to be used for basic questions on visualizing functions and lists using the various flavors of Plot commands.

1,136 questions
Filter by
Sorted by
Tagged with
892 views

### Plot $\arg(z)$ in an Argand diagram and display the angle

I'd like to ask you about the way to show the $\arg(z)$ annotation about the angle. My point is to show $\frac{2\pi}{3}$ and $\frac{5\pi}{6}$ on the image. What I mean: (source: brocku.ca) Is ...
4k views

### Plotting two functions in one graph [duplicate]

Plot[2x, {x,0,4}] Plot[x^2, {x,10,12}] How do I merge these two graphs into one graph without the range {4,10}?
119 views

### change the size of the image

If this is trivial or a duplicate I apologize. I failed to find something. I have the following code ...
88 views

### How to align/grid several plots(mXn) in one figure? [duplicate]

I run Mathematica 10.0.2 on my Win7. I'm trying to make a PDF for publication similar to figure below： This is a figure containing a 4X3 image. The feature in image is irrelevant, my point is to ...
119 views

### ListPolarPlot does not allow PolarAxes->True or PolarGridLines->True? [closed]

I am running the personal version of Mathematica 9 on a MacBook Air with OS 10.10.5. When I try to activate PolarAxes->True and/or ...
100 views

### Align a plot with other rotated plot [duplicate]

i'm plotting two plots one of them is rotated 90º and has no axes labels, so my problem is that when i plot them together in a row the alignment options bottom top align the top to top or bottom to ...
689 views

### Why is Text in an Image cut off?

I want to create a long, skinny Image containing only text. This makes a square image of the default size. ...
201 views

### Create a Venn diagram showing the relations of three sets of quantum states [closed]

I've determined a number of probabilities pertaining to three subsets of the "magic simplex" of quantum states described in https://arxiv.org/abs/1212.5046, and certainly would like to have a ...
165 views

### Axes behind plot lines

If I do a plot and want both the horizontal axis and a frame I can do this: ...
159 views

### Numeric data from a color map

Importing the following image (without a scale): and knowing the extreme temperatures, is it possible to obtain the graduated scale? Also, it would be interesting to get the temperatures of all the ...
126 views

Say counts = {0.18, 0.51, 0.31}; PieChart[counts, ChartLabels -> counts, PlotRange -> All, Frame -> True, FrameTicks -> None] I am completely ...
125 views

### Export Density plot Counts or Intensity array values

I have the following code: ...
391 views

### Rose plots for wind field quantities

I'm struggling to generate rose plots that have the ability to plot multiple measurands that can be both positive and negative. Here's an example of something (from Excel !) that I seem to be having ...
396 views

### Visualizing .xyz file in Mathematica

If i import a .xyz file in Mathematica that will show me the moelcule in the default way. But i want to visualise the .xyz file in the following manner.
520 views

### Extract data from an image of a density plot?

I have a density plot in image form and would like to extract the data points from it. How would I go about using Mathematica to accomplish this? My ideal output ...
355 views

### Part::pspec error returned when using a ListLinePlot ColorFunction variable as list index

In ListLinePlot, I'm attempting to construct my own ColorFunction for coloring points differently based on a third dimension of data not plotted to a specific axis. However, ColorFunction only uses ...
1k views

### How can I plot a polygon with n sides inscribed in a circle and show the area?

I am doing some work on Archimedes and want to show what the area of a regular n-sided polygon is within a circle. My professor from two years ago was able to show it with an adjustable slider that ...
114 views

### Dynamically update a graphic object in Mathematica [duplicate]

I was trying to simulate a bouncing ball (with no gravity) in a unit box and I managed to come up with a solution: ...
2k views

### How to show legend in a combined plot of many lists,

I am having trouble with adding a legend to a plot. The example I discuss here is simpler than my real problem, but describes it well. I have a vector, called X with dimensions (100 x 6). I use the ...
39 views

### How to get Callout and Text[…,Offset[…]] to use the same coordinate system in Mathematica 12?

I could have sworn this worked in a previous version of Mathematica, but when I transcribe the coordinates used to label text offsets, I get errors like ...
35 views

### Problem with special characters when exporting to pdf

I'm working on Ubuntu 16.06.7 LTS X Mathematica 12.1.1. Very recently, special characters do not display correctly anymore once exported to pdf. Here comes a basic working example: ...
55 views

### Projections of the 3-dimensional phase-space of a non-autonomous ODE system

Given classical system of ODE: $\begin{cases} \dot{x}=g \\ \dot{g}=t \cdot (-g+\frac{df}{dx}) \\ \dot{h}=-h+\frac{d^2f}{d^2x} \end{cases}$ where $f = e^{-x^2}$ I am constructing a three-dimensional ...
144 views

### Use separate options for different elements in Show

I have a few plots of different type. plot1 has gridlines and the rest do not. I use the option Method -> {"GridLinesInFront" -> True}] when plotting plot1. When I use Show to combine the plots the ...
205 views

### Having problems with ListPlot and a PaddedForm wrapper

I defined a function f[x_] = x^3 2 x. Then I had to construct a table showing vertically, the values of f corresponding to x on ...
191 views

### How to draw two error bars at one point in Mathematica?

I have read the error bars reference in Mathematica to find how to draw a picture like the one above(The thick error bars indicates interval of 68% probability and the thin ones denotes 98%), but I ...
326 views

### ParametricPlot table of complex functions in several graphs

Assume that I have a table of complex functions like Clear[p] Clear[M] M = 10; G = Table[Sin[i p] + p I, {i, M}] I want to ParametricPlot them in graphs, each ...
118 views

### Finding surface fit on 3D graph that have different data length

I have a question to find the surface plot on the list of data with different data length. Each of the sample a different length, how can I combine all these data and find the best fit surface for ...
115 views

### Find x-intercept when maximum slope of tangent intersects a point

If I have the following data: https://pastebin.com/ZY4zFJYK and the following code: ...
571 views

### How to draw multiple cuboids on the same plot

I have defined a table ...
274 views

### Not seeing line defined in an Epilog option [duplicate]

In the following code, the line defined in Epilog option of my 2nd parametric plot doesn't show up in the content pane of my ...
111 views

### how to generate vertical scale on both sides of the plot? [closed]

Usually on a plot the vertical scale is on the left, and the horizontal scale is on the bottom. How to make the vertical scale appear on both left and right, and similarly the horizontal scale on both ...
184 views

### How to fit the curve that this lines made? The length of lines are all fixed

but how to deduce it ? Thank you .
69 views

### How to put a bound with RegionPlot-Edited

I was trying this simple code to plot the contours within a specific region bounded by a limit ...
81 views

### Need help understanding Graphics Translate

I created a star pattern that I was trying to apply to a circle of pentagons, but the Translate had a slight offset, and I don't understand why. When I drew the ...