Questions tagged [plotting]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
26 views

Intersection point for existing solution - avoiding error messages, message in diagram if no solution exists

I am trying to highlight the intersection if one exists. For specific parameter values there is no solution and the manipulate output creates error message and red background. How can I avoid the ...
0
votes
0answers
33 views

Changing colors of functions in plot/manipulate [closed]

I would like to illustrate the functions with gray for initial values and colors for manipulated values. I know how to change ColorThemes but not how to specify colors/line properties for specific ...
1
vote
3answers
78 views
0
votes
0answers
28 views

Parametric plot gives good graph for x variable range 0 - 10000 but fails to plot for 1 — 10000

Please explain why pF4 provides a good graph while pF4a, pF4b give nothing ... All I do is change the range of variable x from 0-10000 to 1-10000 ...
2
votes
1answer
30 views

Trying to get Callout to work with EventSeries and DateListPlot [closed]

I can get ListPlot to work with Callout. Here is toy code: ...
-1
votes
0answers
52 views

Is it possible to extract data from the following density plot? [closed]

Consider the screenshot of some density plot: Its pdf version may be found here. The plot is from this paper (Fig. 4). Could you please tell me whether Mathematica can extract the data from this plot ...
1
vote
2answers
39 views

NDSolve works but no results in ParametricPlot?

Here x[i,j][t], y[i,j][t] ... denote the coordinates of 4*4 interacting particles labelled [i,j] taken as in a network, t is the time ...
3
votes
2answers
101 views

How to plot a schematic plot containing arbitrary smooth curves?

How can I make a plot similar to the one below (enthalpy vs T plot) in Mathematica? Thank you very much in advance
2
votes
2answers
140 views

Cross-section parts of a Cube and show results graphically

I am trying to visualize a 3D section of a chopped up 1x1x1 Cube. I don't want to use the Cube[] function to draw this. (unless you think you can still accomplish it that way). Ok, so say you have a ...
4
votes
2answers
55 views

Using tooltip with listline plot

I'm trying generate a simlilar graph to the one shown at https://ourworldindata.org/co2/country/greece?country=~GRC On this graph, when you hover over a data point, the information is displayed and a ...
3
votes
1answer
106 views

Generating a thick spherical gyroid object for 3D printing

I have the code for the spherical gyroid as shown below. My problem is when I attempt 3D printing, I can not obtain the object because the thickness is too small. How do I increase the thickness of ...
4
votes
4answers
466 views

How to plot this solid nicely?

I want to plot the following solid nicely. $\{(\rho\cos\theta\sin\phi,\rho\sin\theta\sin\phi,\rho\cos\phi)\in\mathbb{R}^3\mid(\rho,\phi,\theta)\in[1,2]\times[0,\frac{\pi}{2}]\times[0,\frac{\pi}{2}]\}$....
0
votes
2answers
52 views

How to understand this behaviour of GeoRange and GeoGraphics [duplicate]

I've preprocessed ~100,000 points in the Vancouver area and am starting to analyze and segment them in different ways. I wanted to start off with a nice finely controllable bounded region since others ...
1
vote
0answers
50 views

Manipulate and Plot of Tangent Point in Optimization Problem with Kinked Constraint: Solve and PieceWise Problems

I'm trying to illustrate an optimization problem with a piecewise constraint creating a kink at the maximum value of T if n>0. ...
3
votes
2answers
117 views

Condense code to graph the roots of Littlewood polynomials

I am a newbie using Mathematica. I wrote this code to plot the roots of Littlewood polynomials, based on the structure of other programming languages. But I'm sure Mathematica has tools to do it in a ...
1
vote
2answers
66 views

Manipulate not showing the four curves I want to manipulate

I've tried to display four functions in a single plot without success and I don't know how I should change my code in order to see the function. Indeed when I run the command I just see the axises but ...
2
votes
2answers
53 views

How can I add plot legends to my list plot?

I would like to add a legend to the ListPlot defined in the code shown below. Unfortunately, adding PlotLegends -> Automatic ...
4
votes
2answers
56 views

ListPlot is not plotting functions from DSolve, brought by ReplaceAll(/.) command

I have the following simple differential equation ODE = DSolve[{x'[t] == 1, x[0] == 1}, x[t], t] and I'd like to visualize how the solution ...
1
vote
1answer
30 views

Manipulate giving errors when I plot the product of a step function and a continuous function

Riemann's prime counting function J (link) takes half-values at every jump-discontinuity. So, I define it thus: ...
-3
votes
0answers
82 views

Flip Bifurcation of difference equations and Neimark Bifurcation [closed]

Hi, could please, anyone, help me with how I plot bifurcation 2-D DIFFERENCE EQUATION. One-dimensional case answered here, but I do not know how does it work with two dimensions Bifurcation diagram ...
2
votes
1answer
39 views
0
votes
1answer
32 views

ListPointPlot3D + Grid

I have to plot some points in the 3d space. This is the code I use ...
4
votes
2answers
212 views

Hyperbola problem

I'm studying the hyperbola given by the implicit function $x^2/16-y^2/2=1$ I need plot the hyperbola and the asymptotes $y=b/a\,x$ and $y=-b/a\,x$. Then I need to select a point on the hyperbola and ...
0
votes
1answer
62 views

Evaluate analytic solution of the function [closed]

Here, i have plotted a function and i would like to print the y coordinate values from the plot for the x-coordinate given below. Coordinates in the sequence that every fourth y-coordinate should be ...
6
votes
4answers
296 views

Automatically draw chords from n-1 points on a circle to a fixed point on the circle

I want to put n equally spaced points on a circle and automatically draw chords from all points to a fixed point preferably P(0,0). I have managed to draw the points and the circle so far with ...
1
vote
2answers
52 views

Manipulate and Plot of Tangent Point in Optimization Problem: Solve Problems

I want to illustrate how changes in the values of exogenous variables and parameters (T,w,[Alpha]) are changing the optimal values of two endogenous variables (f,c)=(f*,c*). The solution is with a ...
1
vote
1answer
33 views

sorting out the coordinate and respective solution values for plotting

In the code below, I have values printed in output coordinate (coor) and solution vector, ϕvalue. I want to plot for coordinates and corresponding solution values below. ...
5
votes
2answers
139 views

How to create a 3D plot with inclined axes?

I want to create a 3D plot with inclined axes. For example, I want to change angle between x and y. ...
4
votes
2answers
69 views

How can I change the color in RegionPlot? [closed]

I need to graph $$y\geq \frac{1}{1+x^{2}}$$ so, I'm using the function PlotRegion[condition,{var1,min,max},{var2,min,max}], so I obtained ...
1
vote
2answers
102 views

ParametricPlot3D as a ContourPlot

I want to plot the amplitude of a complex-valued function of one complex variable. I want to do this in the plane defined by the real and imaginary parts of the complex variable as a ...
1
vote
0answers
38 views

How to confirm the list of plot unique

I have a list of plot in a list called modes. I am interested in knowing whether this list is unique or not, meaning all the plots are different from one another. ...
0
votes
1answer
26 views

How to combine many ContourPlots using Table?

I noticed that I can plot several functions at the same time using Table and Plot, like this: ...
4
votes
2answers
102 views

Improper formatting for input to ListPlot3D, backwards incompatibility on 12.1?

For context, I am a brand new user to Mathematica using version 12.1 on Linux. I'm looking at an old notebook (2011) that looks at the inviscid burger's equation. The relevant bits from the notebook ...
1
vote
2answers
21 views

Follow-up to “Plot, extract data to file”

This is literally a follow-up to part of Mr.Wizard's answer to: Plot, extract data to a file Specifically in reference to ...
3
votes
5answers
151 views

Sphere[] mesh/wireframe using Graphics3D

When using ParametricPlot3D to plot a sphere, we get a nice mesh / wireframe for it: ...
2
votes
3answers
414 views
1
vote
1answer
27 views

How can I add a legend?

I need to plot data that are distributed over many orders of magnitude, natural ListLogLogPlot gets too cluttered, so I decided to split the y-axis in two following ...
4
votes
1answer
63 views

DateHistogram with Stacked / Percentile layout

Requirements Each bin's bars stack to 1. Nice Date axes labels and maximal support for DateHistogram features/options. Example ...
0
votes
0answers
30 views

Manipulate is not plotting

I want to plot the output function of omega with the rest of the variables as parameters. I tried but its not plotting due t some reason. I tried removing omega m from the function and manipulate, ...
4
votes
0answers
55 views

Plotting a hexagonal histogram

For positive integers $D$, I have a function s[D_] which creates a list of complex numbers, all of the form $a+b\sqrt{-D}$, where $a$ and $b$ are integers. These ...
0
votes
2answers
136 views
-1
votes
1answer
37 views

Show not displaying multiple ContourPlot3D's

I'm trying to make an image that looks like this: I'm not sure if this is the best way to do it, but this is the relevant part of my code. ...
1
vote
1answer
51 views

How to plot in xz-plane?

Using the following code I am able to plot x(t) and z(t) values with respect to time. But how to do a plot with x(t) values as x-axis and z(t) values as y-axis. Any suggestions please. ...
0
votes
2answers
76 views

Get coordinates of the boundary of a continent

I'm trying to obtain the coordinates of the border of the continents. I need this information to be ordered such that when I do, for example, ListLinePlot[data] It ...
3
votes
4answers
138 views

Automated use of PlotLegends

Is there a way I can sensibly automate the PlotLegends expressions within plot so as to correctly label each curve even when I change some of the initial parameter values? For example, consider the ...
0
votes
1answer
37 views

How to apply color gradient in listplot based on the density of points

I have a list of points ( a list with sub lists which are {x,y} coordinates. I would like to have a listplot where the areas with higher density of points are in darker colors and areas with lower ...
0
votes
2answers
132 views

Error message: “-1.99992 cannot be used as a variable” [closed]

could anyone please tell me how to fix this: I want to plot the solutions of a coupled ODE: $\frac{1}{3} u\partial_x ^3 u = \frac{1}{2} \partial_x v; \ \partial_x\left( u \partial_x v - \frac{1}{2} u^...
1
vote
0answers
38 views

Using the Line command with a bound on distance between points

Suppose I use the Line command applied to a list (or more accurately apply Graphics[Line[list]] or ...