Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plotting]

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

0
votes
0answers
57 views

Homogeneity of a function within a region

I have 2 functions; funtion 1: ...
0
votes
1answer
75 views

Help with Mathematica Plot [closed]

I'm attempting to recreate a Penrose Diagram in Mathematica from this paper: https://pdfs.semanticscholar.org/6bee/5e712cb09fdc97d38a361c9bff3e4beb0125.pdf Pg: 12,13. I'm not very familiar with ...
1
vote
1answer
28 views

Why are these arrows not plotting?

I'm very new to mathematica, so pardon me for such a simple question. I have tried to follow the syntax of the "Arrow" documentation(https://reference.wolfram.com/language/ref/Arrow.html), but I ...
2
votes
1answer
114 views

Calculating the sum of the lengths and plotting all curves on the same map

I have a curve like below; ParametricPlot[ FromPolarCoordinates[{Exp[(t + 0)*0.5], t}] // Evaluate, {t, 0, Pi - 0}, PlotRange -> All] This curve rotates ...
1
vote
3answers
70 views

3D Plot the result of local Minimize with varying parameter values

I'm faced with the following minimization problem: Find $r\in[0,1]$ that minimizes $\frac{d^2+k^2 (1-2r)r}{2(1-r)r}$, which is bounded by 0 and 1. In addition, $k<d$ holds and each of $d$ and $k$ ...
0
votes
0answers
37 views

Variable Plotted in 3d Space

I am trying to plot dose rate in 3d space in terms of r, theta and z. None of the variables are functions of each other they are just arrays of points with the following sizes: Dose 220x35 r 220x35 z ...
5
votes
1answer
83 views

Automatically rotate frame ticks labels

Say in ListPlot[Range[0, 1, 0.1], Frame -> True] I want the tick marks on the vertical axis to be rotated 90 degrees. How to do it automatically, preserving ...
3
votes
3answers
80 views

How can I put common frame ticks on the leftmost of a row of graphics?

I have a function which plots a response behavior of model variables holding a reference value constant (the green dot in the examples below) over a common PlotRange (achieved by plotting the ...
5
votes
2answers
730 views

Onion plot of a ball

Consider the following simple example. ...
0
votes
1answer
70 views

Different result in ContourPlot function using different version of Mathematica (?)

I tested "Elasticity with Mathematica" notebook (Mathematica 6) in Mathematica 11.3 and tested C05_stress_kirsch.nb, I added some trigger code to protected function in the tensor2analysis.m file, and ...
3
votes
2answers
66 views

Only display plot legends for curves that are visible in the plot range

I have a list of coefficients, i.e. coefficients = {{a1,a2},{b1,b2},...,{an,bn}} From this, I generate a list of functions. I then plot these functions with a ...
0
votes
0answers
16 views

Facing difficulty in placing the text In graphics3D

Question 1 I have a cube in which I have to represent the corner of the cube with some text. But I am finding difficulty in placing, I don't want It to be exactly on the corner, I just place in a ...
1
vote
0answers
36 views

Fourier parametric plot running into “Iteration limit of 4096 exceeded.”

I am trying to create a fourier drawing tool like this but am running into an iteration limit on larger images. Being quite new to mathematica, how could I go about fixing this / making the program ...
0
votes
0answers
18 views

Passing a list of conditions to AND [duplicate]

Say I have a list of some conditions, such as list = {y<x,x<0} And I'd like to plug this into RegionPlot, such as <...
1
vote
1answer
47 views

ListCountourPlot does not show any result [closed]

I was trying to show the heat conduction of Laplace equation problem.But the plot does not show properly ...
0
votes
0answers
24 views

How to get the coordinates of the x-intercept from a plot?

Assuming that I only have access to the plot and not to the function that was used to generate it, how can I get the coordinates of the x-intercept of this plot?
0
votes
1answer
65 views

Box Plot of Classified Data

I have three sets of data which are collected in Jan, Feb and Mar respectively. I would like to make a box plot to show the monthly variations. As the data volume is large, I classified the data ...
0
votes
0answers
57 views

Plotting the parameters of Mathieu equation for stability region

I am trying to plot stability regions of Mathieu equation with a and q parameters, I plot this and now i want that i fix the value of x between -5 and 5, and corresponding to each value of x,I get ...
1
vote
1answer
51 views

Combining Graphics, Graphics3D, and ParametricPlot3D

I'm trying to generate a figure similar to the first figure of enter link description here, so I tried to draw a torus, a disk, and a tube which is tangent to the torus. The disk must be inside the ...
0
votes
1answer
34 views

Conditional Plot of a function if another function satisfies something and in the case of complex variable

Let's say we have function $g(\zeta)$ and another map $f(\zeta)$, where $\zeta$ is a complex variable. I am trying to plot a graph of $f(\zeta)$ but given the condition of $g(\zeta)$. For instance, ...
1
vote
1answer
37 views

Making a secant line slide along a curve with Manipulate

I need to create a slider that displays the secant line of the function (defined as functionsecant) using the Manipulate function in mathematica, but I can't get it to work and I can't find any ...
1
vote
2answers
107 views

VectorDensityPlot, [closed]

I'm trying to plot the following function for two different values of variable m. However, it seems the second figure never appears. Weirdly, I noticed that real numbers are being attributed to ...
0
votes
0answers
27 views

Frame ticks of a Plot

When I Plot my function (under Plot command) it is seen that all the Frame ticks along Y axis shows the only value -1 but the Graph is okay.I used FrameTicks-> Automatic. However, along X axis it ...
2
votes
1answer
96 views

Unsure why Plot3D is empty? [closed]

I don't understand why my 3D Plot is empty so was looking for some advice. I have several functions defined, one of which is used in Plot3D, as seen below. ...
1
vote
0answers
52 views

Plot ContourPlot2D of PDE that depend of time over a set of image slices

A few days ago i made a publication asking about of projecing ContourPlot3D onto 2D slices (Project ContourPlot3D onto 2D slices. It is possible?), but i think i did not explain myself very well. I'm ...
7
votes
1answer
261 views

Plot a point with two colors

I have a list of points that I plot with ListPlot. I want all the points to have two different colors like in the picture how can I do this with ...
2
votes
1answer
29 views

How to plot one set of data as solid line for one domain and as dashed line for another domain?

Consider a set of data {{x,y}}. How to plot it in the way such that for all x > x0 the plot line will be solid, while for x < x0 it will be dashed?
4
votes
1answer
63 views

PDF Export of logarithmic histogram contains no axes labeling

I have the following data: ...
-1
votes
3answers
48 views
0
votes
0answers
31 views

Adding points to plot created with interpolate [duplicate]

I have created plot of my model function: energy[kx_,ky_]:=Sqrt[1-(Cos[kx/2]Cos[ky/2])^2] using the material from question that I have previously asked (Energy ...
1
vote
2answers
112 views

Converting 3d points into a density plot

Is there a way to convert an array of values $(x_i,y_i,z_i), i=1,\ldots,n$ to a density plot instead of a ListPointPlot3D? I don't know if this is duplicated, but ...
0
votes
0answers
16 views

Is it possible to mark a legend in density plot manually [duplicate]

I was using the code as DensityPlot[Sin[x + y], {x, 0, 2}, {y, 1, 3}, PlotLegends -> Automatic, ColorFunction -> "Rainbow", ImageSize -> Small] which ...
2
votes
1answer
50 views

Strange plot artifacts when plotting the underdamped oscialltor solution

I'm plotting something trivial; the solution to an underdamped harmonic oscilator: $$x(t) = A_{0} \cos(\omega t) e^{-t/\tau}$$ In MM speak I say: ...
2
votes
3answers
137 views

Finding minimum from ListPlot

I have Table with 10000 elements in it and I plot a graphic using ListPlot. I need find minimum in graph. Here is a .txt file with data. I tried to use ...
4
votes
2answers
142 views

How to reverse X-axis in Graphics?

The following Graphics[Circle[], Axes -> {True, True}, ScalingFunctions -> {Identity, "Reverse"}] doesn't work I need "minus" direction go to the right...
0
votes
1answer
56 views

Plotting the solution of differential equations [closed]

I want to plot solution of differential equations. I can get real values out of my function, and get no errors from the Plot, but also no curve shows up. Assume ...
1
vote
1answer
57 views

Drawing parallel planes given only 1-2 points?

Assuming I'm given an arbitrary 3D curve, what I'm trying to do is draw a plane (or a pair of parallel planes) given only one or two points to work with. Now, I know that 3 points are required to ...
1
vote
1answer
37 views

Adding Legend to PieChart

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

How can I combine the output of a `For` loop into a list?

I am currently writing on a code to get RandomNumbers which are geometrical distributed. But i need the output in one list because i want to plot the output Can anyone help me? Here is the current ...
0
votes
1answer
52 views

ContourPlot fails in a simple equation

I'm very new with Mathematica, and I'm struggling with a very simple problem. I want to plot this ...
3
votes
3answers
389 views

How would you visualize a multivariate Gaussian in high dimension (>3D)?

Obviously, I can't do: Plot3D[PDF[ MultinormalDistribution[{0, 0, 0}, {{1, 0, 0}, {0, 1, 0} {0, 0, 1}}], {x, y}], {x, -20, 20}, {y, -20, 20}] How would ...
1
vote
2answers
220 views

How to change List Contour Plot to log log scale?

I would like to draw a ListContourPlot in Log Log scale as well as bar legend. But I have no idea about how to do it. Could anyone help me to draw the plot in Log Log scale? ...
0
votes
1answer
57 views

Plot Derivative of ODE system

I want to Plot Derivatives of ODE system. ...
0
votes
0answers
29 views

Make two 3D plots have the same viewpoint?

I make two Plot3D with the same `ViewPoint, but clearly the two 3Dplots' axes are not at the same angles... when put next to each other they are clearly not seen ...
0
votes
0answers
49 views

Fitting results on two part graph

I have to do fitting of some experimental data that in the end should be represented like this: For the left part of graph from $(\pi,0)$ to $(0,0)$ experimental data is given as: ...
3
votes
1answer
64 views

How to use Exclusions in ContourPlot?

I want to achieve this effect: then, I try the following code: ...
0
votes
1answer
57 views

ContourPlot showing breaks in contours

I'm trying find graphically the solutions of the intersection of the following functions. ...
0
votes
0answers
40 views

PDF export on macOS Mojave does not show axes correctly

I am using Mathematica 11.3.0.0 on macOS 10.14.3. I found something goes crazy when I exported a plot with legends. In the notebook, everything seems fine Then I used the export command to export it ...
3
votes
3answers
80 views

I need List Plot points to have different color based on amount of neighbours?

So i have a list of points, and i need them to be colored differently based on how many neighbours they have. I tried: ...
1
vote
2answers
60 views

Different BoundaryStyle for different sides of a RegionPlot

How can one Define a function in the RegionPlot that gives different BoundaryStyle for different sides? I mean ...