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
48 views

Parametric region cannnot be automatically discretized/not a valid region to plot

When I try to plot this simple parametric region: ParametricRegion[{x, Sin[z + t] + Sin[t - z]}, {{x, 0, 1}, {z, 0, 1}, {t, 0, 1}}]; RegionPlot[%] I get errors ...
5
votes
1answer
78 views

PlotLabels with equations not expressions

I want to label the curves in Plot[] with their equations (eg. "y = x^2") not just their expressions (eg. x^2). There has to be a way to do this, but I cannot figure it out. ...
3
votes
2answers
56 views

Rescaling RegionFunction in StreamPlot

I often use a version of @Rahul's myStreamPlot (original here) to make nice looking StreamPlots. Briefly, it rescales the axes ...
2
votes
1answer
32 views

Problem with using the Joined option of ListPlot [closed]

I am plotting the first and the last column. DownloadData When I use ListPlot, I have a problem with Joined. ...
0
votes
2answers
72 views

How to plot a single plot with two variables

guys. Suppose I have this equation: M(t) = Meq + (M0 - Meq) exp[-t/τ] where t denotes de time, Meq and M0 defined parameters and τ is an another defined parameter. I can easily plot this equation (...
3
votes
1answer
114 views

Padding lists for accurate plotting

I have the following data which is in the form of irregular/non rectangular arrays list1 = {{1}, {2}, {3}, {4}, {5, 6, 7}, {8, 9, 10}, {11}, {12}} To transpose ...
0
votes
0answers
36 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 ...
0
votes
0answers
31 views

Plotting a point beneath the surface of a sphere [closed]

I'm trying to represent a point beneath the surface of the earth. I can plot coordinates based on latitude and longitude to get a point directly above where it's supposed to be, but now I need the ...
5
votes
2answers
63 views

Giving Plot options defined outside of the Plot expression

How can I give Plot formating expressions on a separate line just like ListPlot? When I use the following code with ...
2
votes
1answer
44 views

Plot shows up as blank output line

Let me start by saying this is NOT one of a thousand duplicates of the function not showing up on the plot. Mathematica has been working fine for the last 2 years, and then all of a sudden, ...
0
votes
0answers
46 views

Problem with Z scale density plot color

I have a problem with my Z scale color... I would like to saturate the colors in order to see better the white ring... When I am doing the next line code ...
0
votes
3answers
82 views

How can I join several plots a single figure using a Table?

It is possible to joint different kind of plot using a Table, The idea is to have a single plot. I have been trying using Show function y. But I can not get it. So It is possible also to add ...
3
votes
1answer
40 views

Extract plot from an image with diffused lines

I found an amazing question on how to obtain a data set from an existing plot, which detailed the process very nicely. Recreated the same steps on my end but it's not working, I am assuming because ...
0
votes
2answers
55 views

LogLogPlot with numerical errors and warnings in NIntegrate using fine integrating steps

I have the following (long) function of g1 and ωthat I wish to integrate with respect to ω <...
2
votes
1answer
28 views

Trouble using ParametricNDSolve in Manipulate

I have troubles to understand how to use Manipulate and ParametricNDSolve to have modulable parameters inside my models. I ...
3
votes
2answers
54 views

Interleaving position

How could I proceed to interleave the presented values to obtain the same result obtained by this code? ...
5
votes
0answers
35 views

Evaluation of Mod of InterpolatingFunction prevents discontinuity processing by Plot

While trying out @MichaelSeifert's answer to Eliminating Discontinuities When Using Mod with NDSolve and Plot for Oscillators, I came across this odd behavior. Depending on how an ...
3
votes
2answers
101 views

Moving plot label

I am trying to place the plot title somewhere neat, to the left of x=0. ...
2
votes
1answer
48 views

Eliminating Discontinuities When Using Mod with NDSolve and Plot for Oscillators

I have found similar questions to mine, but dealing with piecewise and parametric plots instead and unfortunately the answers don't seem to extend to my case. I have a solution from ...
2
votes
1answer
40 views

Plotting numerical solutions (multi solutions)

I am trying to plot the solutions of this equation. ...
1
vote
1answer
71 views

Drawing an approximate visualization of an inequality using ArrayPlot

I need to write a function that returns graphic visualization of the two-dimensional figure described with equation: $\qquad P = \{(x, y) \in R^2: 4+2x < x^2+y^2<9\}$ I have to use the n x n ...
4
votes
2answers
114 views

Intersection lines of surfaces from list contour plots

I have two plots made with ListContourPlot3D. Is there a way to find the intersection curves of the surfaces represented in the two plots? I have tried ...
2
votes
1answer
37 views

How can I apply the FillingStyle across the whole graph? [closed]

I want to have purple dashed line for my stem plot, as is shown here but when I tried to set the options in ListPlot accordingly ...
0
votes
0answers
40 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: <...
2
votes
1answer
48 views

Can't get ListLinePlot to work on simple databin data [on hold]

I do the following: b=Values[Databin["BX8vj6ow"]] {10,20,30} Then I do ListLinePlot[b] ...
4
votes
1answer
72 views

Graphic representation of a triangle using ArrayPlot

So I need to write a function which takes natural integer $n$ and returns graphical representation of a matrix $n \times n$ using ArrayPlot[]. This matrix has to be ...
0
votes
1answer
67 views

How can I add transparency to a combined plot?

I have a question about how to add transparency to a combined plot. The combined plot consists of three different plots. First of all, I drew a first plot. The code for this plot is ...
10
votes
1answer
201 views

Constructing a ternary histogram

so this is currently what I'm building ...
3
votes
1answer
153 views

How to increase the accuracy of a plot

I have the following code below: ...
0
votes
1answer
84 views

Can you plot complex maps? [closed]

I want to plot $|z+1|=|z-2+i|$/ Is there any way to do this without converting it to Cartesian form and contour plotting?
3
votes
2answers
53 views

How can I plot two parts of Möbius strip bonding together?

How can I plot two parts of Möbius strip bonding together like the following picture? The parametric equations: ...
4
votes
1answer
113 views

How can I have x-axis ticks that show ticks scaled in powers of ten?

I am having trouble achieving this effect with on the x-axis. Does anybody have an idea how I can achieve this effect?
2
votes
1answer
54 views

How to force ListPlot to print the new curve while keeping the old one

I would like to create a graph using ListPlot which prints new dataset every time the button is evaluated (based on the value given in ...
2
votes
2answers
117 views

How to plot this group bar plot?

I want to generate a barplot with the following characteristics. There are 5 users in the system. Each user has a demand. There are 2 suppliers. Each supplier tries to meet user demand as closely as ...
3
votes
1answer
45 views

Plot Legend and Asymptote and to enlarge region

I want to plot some functions where one of them is and a vertical asymptote but it cannot put into the Legend (the asymptote is 1 ). Also, another problem is when trying to improve the axis size and ...
5
votes
2answers
159 views

Draw bounding region by list of points

Suppose you have a list of data points, either in 2D or 3D; is it possible to plot the minimal bounding region containing all the points? Ignoring holes etc.
0
votes
0answers
18 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 ...
1
vote
0answers
44 views

How to force Plot[..] to show the x-axis? [closed]

When I use Plot[Exp[x], {x, 0, 1}] the plot shows the y-range between 1 and 2.5: I would like to tell Mathematica that I want to see the x-axis (i.e. y=0) in ...
0
votes
2answers
74 views

How to Chop parts of an expression?

The following expression has four terms $T1$, $T2$, $T3$ and $T4$, such that the totalFunction = T1 - T2 - T3 + T4;. It turns out that the part T1-T2 gives a ...
2
votes
2answers
45 views

Is it possible to make a series read a separately defined set of values?

I would like to plot a function with a sum in it. Here is the function: $$v(k) = \sum_{j=1}^k \frac{v_E \cdot m_j \cdot c}{m_j(1-c)+\sum_{i=j+1}^n m_i} $$ As you can see, the problem is that I have ...
2
votes
1answer
54 views

Fitting data with 3 linear fits

I have a dataset that can be easily approximated by a piecewise function composing of 3 linear functions, but i am unable to get an accurate fit once the third linear function is required. The model ...
2
votes
1answer
63 views

How can I draw a RegionFunction in an appropriate way?

I drew a contour plot using the option "RegionFunction" and it gave me the below result. The code for this plot is ...
6
votes
2answers
356 views

Graphing random points on the XY-plane

I am trying to generate around 10-20 points on the xy- plane in the domain $[-10,10]\times[-10,10]$ (in 3D) and I am having trouble. I want to draw the plane in 3D, graph the random (they do not have ...
1
vote
2answers
128 views

MapThread conflicting with DynamicModule

Cross-posted: https://community.wolfram.com/groups/-/m/t/1625808 Answer posted on Wolfram Community I'm creating an interactive UI which allows the user to import data from a spreadsheet, perform ...
1
vote
1answer
67 views

How can I remove unwanted contour lines in a contour plot?

I drew a contour plot using the option RegionFunction. but it gave me lots of unwanted contour lines inside the plot. I want to remove all of them just remaining ...
3
votes
1answer
51 views

Changing the color of a specific curve in ContourPlot [closed]

How do I change the color of a specific curve in my ContourPlot? I want to change the color of the last curve (+1.5 additive factor) from ...
2
votes
3answers
53 views

Plotting Solve output automatically

I am trying to solve a characteristic polynomial and plotting its output. The problem is that I do not know how to take the output automatically. My current code is ...
3
votes
1answer
25 views

Force ColorFunction to take same parameters as the function it colours

ColorFunction doesn't behave as I expect. It doesn't seem to take the same value as the function itself. See below. I plot the function ...
3
votes
1answer
82 views

Visualizing 3D position and roll pitch yaw data

What is a way to visualize 3D trajectory data that contains a set of (x,y,z) coordinates that also contains pitch roll yaw (Alpha,Beta,Gamma) angles?
2
votes
1answer
78 views

ListDensityPlot3D with opacity

Suppose I have a bunch of 3d data points, is there a way to plot a ListDensityPlot3D such that the opacity is determined by the number of nearest points to each ...