Skip to main content

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
0 votes
1 answer
108 views

Parameterization of boundary curve in Plot3D

I am considering a function of the form: u0 = p[1](Q1[1] - K1)/(p[1] - K1 + Sqrt[(K1)^2 - m1^2](1 - 2*alpha)); with p[1],Q1[1], and m1 being constant (set p[1] = 1, Q1[1] = 1/2, m1 = 0.1). Therefore,...
RealDestructor's user avatar
0 votes
0 answers
72 views

Problems plotting labels

When i plot labels on a graph, then the text "field" is much bigger than the text itself. It gives some problems for me regarding placing the labels properly. Can someone help me fix this? see code ...
MadsM's user avatar
  • 23
0 votes
0 answers
126 views

Animated wrapping line and wrapping cylinder

I am trying to draw the following situation using any graphic program but I couldn't since I don't know how to make the animation. So your help is greatly appreciated. So my picture consists of two ...
user21210's user avatar
  • 161
0 votes
0 answers
29 views

Gap between line and marker

i am doing very simple thing when I run this line: ListLogPlot[Table[1/x, {x, 10^Range[-2, 1, .1]}],PlotMarkers -> Automatic, Joined -> True] I get ...
Mohammad's user avatar
  • 113
0 votes
0 answers
65 views

Generate vector field pointing to minimum intensity (black)

I have a black and white image and want to plot a vector field that points to the highest and nearest minimum intensity value (something like the arrows shown in the image). Similar to Gradient filter ...
nikhalster's user avatar
0 votes
0 answers
665 views

Why does ListSurfacePlot3D yield a different surface fit than using Python code for best-fit quadratic curve (2nd-order)?

Using the same data, I obtain different surface fits on Mathematica (using ListSurfacePlot3D) and Python (using a code for best-fit quadratic curve (2nd-order)). Here's my code on Mathematica: ...
Tommy95's user avatar
  • 97
0 votes
0 answers
82 views

Plotting correlation between two metrics that contain hundreds of thousands of data points

I wanted some feedback on what is thought of as best practice in terms of showing correlation between two metrics in terms of minutes vs minutes when both metrics contain a large amount of data points ...
Chris's user avatar
  • 1
0 votes
0 answers
57 views

Plotting data imported from Excel and overlaying it on a disk

I'm new to Mathematica and I'm trying to get the hang of plotting data from an external CSV file. The data is just x, y, z values from an experiment I ran. I would ...
DisappointedEmu's user avatar
0 votes
0 answers
113 views

How to make ternary Plot 3D in a different situation?

Owing to xzczd, I could make ternary plot with the following code: ...
seiichikiri's user avatar
0 votes
0 answers
56 views

Problem with a plot

I have a function which has a dependency on x alone. I wanted to find the roots of this equation, so I tried plotting the equation, but I am getting the error "integer expected at position 2 in Surd[0....
acoustics's user avatar
  • 1,709
0 votes
0 answers
107 views

Plotting a specific row and a subset of this row's columns

I have the following data. Now, I not only wish to plot a specific row of the data, but also a subset of the columns in the chosen row. I can work out the first part, but plotting a specific part of ...
user120911's user avatar
  • 2,685
0 votes
0 answers
62 views

How can I fit my histogram with appropriate distribution?

I got this list: ...
AlainP's user avatar
  • 1
0 votes
1 answer
56 views

Order of domain interval plots differently on Contour [closed]

...
Narasimham's user avatar
  • 3,170
0 votes
0 answers
43 views

RegionPlot with FindMaximum

I don't understand why each time I'm launching this computation Mathematica buggs and I get a message from Windows that the Kernel stopped working... I'm trying to get a map of where the value of ...
J.A's user avatar
  • 1,265
0 votes
0 answers
74 views

DateListPlot show point with a thin bar

I have a list of date points and I want to show each point with a single verticle line that connects the point with the x-axis. I imagine that the solution should be the same as for a ListPlot.
Miguel's user avatar
  • 981
0 votes
0 answers
108 views

How can I exclude a point from a Region Plot? [duplicate]

I want to exclude the point {0,0} from: RegionPlot[0 < x^2 + (y^2)/4 <= 1 , {x, 2, -2}, {y, 2, -2}]
Jorge Esteban's user avatar
0 votes
0 answers
44 views

Fixing the plot region absolutely

I have seen many posts where people are asking to scale the plot region with another plot, especially for when people are using side-by-side plots. Is it possible to set the plot region absolutely. ...
user27119's user avatar
  • 2,520
0 votes
0 answers
96 views

RegionPlot fails

Consider a function f[x_,y_]:=NIntegrate[g[x,y,z],{z,1.1*x,3000}] where g[x,y,z] is some function. The function f[x,y] is smooth and works perfectly when Plot it....
John Taylor's user avatar
  • 5,827
0 votes
1 answer
49 views

How to plot for imported data while performing some operations on different columns?

I have imported an Excel file, then I did multiplied different numbers with different columns; ...
Aman's user avatar
  • 149
0 votes
1 answer
160 views

Plotting a transcendental equation [duplicate]

I would like to get this graphic: from this article. Here $\kappa$ and $\varepsilon_{dd}$ are related by: ...
Dinesh Shankar's user avatar
0 votes
0 answers
80 views

find gravity acceleration (g) using FindFit

I need some help again, with this simple exercise: Use the data to determine g, but this time use the functional form T = 2 pi Sqrt[L/g] for the period T of a ...
Chris Schwenke's user avatar
0 votes
0 answers
44 views

3D plots don't show box or axes in 11.3 on Linux [duplicate]

I am using Mathematica 11.3 Student Edition on Linux (Ubuntu). When I make a 3D plot using Plot3D or ParametricPlot3D or any ...
Emad Masroor's user avatar
0 votes
0 answers
64 views

Graphics not plotting in new version

There is something in the old version 8 that does not update graphics into my newer Version 11: ...
Narasimham's user avatar
  • 3,170
0 votes
0 answers
55 views

Different integration results when TrigToExp used

I am trying to do a double integral over a domain $x \in (\theta_1,\theta_2), y \in (0,\theta_1)$. Instead of doing a definite integral I am doing an indefinite integral and taking limits. All that is ...
Jaswin's user avatar
  • 183
0 votes
0 answers
51 views

Manipulate plot of a system of PDEs with NDSolve

Modeling 1D diffusion of an enzyme, e, through a sphere with substrate, s, I arrive at the below equations: I then pass these equations to NDSolve, Evaluate at a range of r and t and Plot and ...
AnotherBioengineer's user avatar
0 votes
0 answers
604 views

Skip legend entries when using the PlotLegends option in Plot[]

(This question seems so basic that I have a hard time believing it hasn't been asked yet, but I couldn't find it, so here goes.) Is it possible to skip items in the legend when using the ...
Julius's user avatar
  • 347
0 votes
0 answers
46 views

Point to integer conversion

I have a plot p1, and I am extracting the points where it intersects the x-axis by Cases[Normal[p1], Point[___], {1, Infinity}] It returns the output {Point[{...
Indeterminate's user avatar
0 votes
0 answers
294 views

How to draw a triangle shape function plot with shape function area being (s, t,1 - s - t)

I want to draw a dynamic graph showing the varying shape of a triangular element with the change in the point P[x, y] as shown below. I want to find the shape ...
Dinesh Chowdary Nettem's user avatar
0 votes
0 answers
41 views

ListContourPlot: ColorFunction or something more?

My code is: ...
Artem Alexandrov's user avatar
0 votes
0 answers
43 views

Is this second order D.E. is solvable

DSolve[{(2.248*10^12) x^2 y''[x] + (4.496 x - 50.535)*10^12 y'[ x] - (1.17977*10^32) (x^3 Exp[-2 x] y[x] == 0, y[10] == 10^-5.3}, y[x], x] You can use b.c. ...
Dark Knight45's user avatar
0 votes
1 answer
122 views

Extracting used plot range from plot [duplicate]

How can I extract the used plot range from a plot? I create a plot: ...
Oscillon's user avatar
  • 1,241
0 votes
1 answer
97 views

Problems with ParametricPlot

I am trying to produce a diagram like this: However, when I try to do it in Wolfram with this code: ...
Alfredo's user avatar
  • 115
0 votes
0 answers
119 views

Plotting a paraboloid and a plane

I am trying to visualize the intersection of a paraboloid and and a plane. My paraboloid is of the form $$f(x) = \frac{1}{2} x^\top A x - b^\top x$$ where $x$ is a vector and $A$ is the pd matrix $$A =...
Shew's user avatar
  • 101
0 votes
0 answers
59 views

Bug in Contour Plot [duplicate]

I think the following are bugs: ContourPlot[y (x - 1)^2 == 0, {x, 0, 2}, {y, -2, 10}] ...
AJHC's user avatar
  • 369
0 votes
0 answers
38 views

Using Interpolating Function [duplicate]

I'm a bit of a noob with mathematica. I'm having a problem trying to use values from my solution. I've used ND solve to integrate ODEs. I have ...
rami_salazar's user avatar
0 votes
1 answer
127 views

Manipulate shows an empty plot [closed]

My Manipulate expression Manipulate[ Plot[100[x]^2/(T^4 (Exp[x/T] + 1)), {x, 0, 30}], {T, 1, 4}] shows an empty plot. ...
Dark Knight45's user avatar
0 votes
0 answers
44 views

Syntax and usage of DSolve

While solving differential equations with Mathematica I got into this excercise: Consider pendulum of length $l$ and $m=1$ affected by $g=9.80665 m/s^2$. The oscillation point of this pendulum isn't ...
JacquesLeen's user avatar
0 votes
0 answers
175 views

Bifurcation diagram with first-order differential equation

I have code from question 96004, and I made same changes: ...
郑新然's user avatar
0 votes
0 answers
56 views

Plot from cartesian to polar coordinates using ListDensityPlot

I am trying to plot my data using ListDensityPlot. But when I plot them. I succeeded to have my data in polar cooridnates but in the middle around zero all my data are white which should not be (see ...
Bigprophete's user avatar
0 votes
0 answers
151 views

Graphics error in orthogonal trajectory

OT_Circles/Tractrices To find an orthogonal trajectory we generally replace slope by its negative reciprocal in its originating differential equation (DE). I.e., replacing $\phi\rightarrow \pi/2-\...
Narasimham's user avatar
  • 3,170
0 votes
1 answer
110 views

How to visualize a series of time differences?

Question: Given a series of times how can we visualize the time between dates? Context I have data of the following structure: ...
Jeel Shah's user avatar
  • 155
0 votes
0 answers
270 views

Cannot find starting value for variable

I am trying to numerically solve and plot two coupled first-order differential equations using ParametricNDSolve over the region $(0,a)$ where $a$ is the parameter. ...
Jon Snow's user avatar
  • 131
0 votes
0 answers
25 views

Acquire a single-variable function by slicing a 3d graph along a given line

Consider my Calculus 2 math problem: Given a function f[x,y]=x^2-3xy and two vectors a = {1,2} and b = {1,1}. Spanning a linear ...
Benjamin's user avatar
0 votes
0 answers
42 views

How can I get the contour shading in two contour plots to correspond? [duplicate]

Link to code. When I ploted the first contour map shown below, I found Z = 1 is corresponding to Canary yellow. But when I ploted another contour map, the same ...
guangya's user avatar
  • 39
0 votes
0 answers
77 views

How to plot a displacement filed of three dimensional body?Code help

Now I know a deformation of a three dimensional body. For example there is a displacement field of a cuboid({{x,0,1},{y,0,1},{z,-0.1,0.1}}): displacement field: <...
郑新然's user avatar
0 votes
0 answers
19 views

Plot of list of functions have the same colour [duplicate]

When I execute Plot[{(# + 1 &)[x], (2*# + 3 &)[x]}, {x, -2, 2}] I get the following plots of different colours (as per the documentation): But when I ...
Shredderroy's user avatar
  • 5,251
0 votes
1 answer
93 views

Manipulate plot and sound of a function simultaneously

I've an amplitude function (see below). I want to manipulate both a plot of this function and the sound it makes with the same sliders. Is this possible? ...
nebur's user avatar
  • 3
0 votes
0 answers
49 views

Unexpected breaks in a smooth plot

I have the following code leading to a broken plot. However, I physical intuition (based on the problem I am dealing with) says that there should be a continuous curve. ...
H. Kenan's user avatar
  • 663
0 votes
0 answers
109 views

How to Plot the temperature and heat flux of the heat conduction problem [duplicate]

**This is a 1-D heat conduction problem for a circular rod with 5cm, T(x,0)=0, T(0,t)=100, T(infinite, t)=0. I am trying to use the finite numerical method, how could I plot the temperature profile ...
matrix's user avatar
  • 13
0 votes
0 answers
134 views

Animating Smooth Density Histogram

I have a large data file (~500 MB), which I import as ...
Debajyoti Sengupta's user avatar

1
302 303
304
305 306
320