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
0 answers
72 views

ListPointPlot3D

I'm plotting with ListPointPlot3D, but the plot is fuzzy. I don't understand why. Can you help? ...
user avatar
0 votes
1 answer
43 views

Adding observation to time series

I download three time series from FRED: ...
user avatar
  • 77
5 votes
1 answer
117 views

RegionFunction is not working for ComplexPlot

Bug introduced in version 13.0 I'm very new to mathematica and I've just begun plotting colorplots for Complex functions. Currently, I'm trying to set the output to be only restricted to the unit disk ...
user avatar
  • 93
9 votes
2 answers
151 views

Getting the "correct" branch of a complex function

This stuff always trips me up. I'm trying to plot a function and I think that the plot looks good in one region and isn't really what I'm expecting in another: The right side of the plot is what I am ...
user avatar
  • 1,478
1 vote
1 answer
54 views

Making text larger without changing size of superscript?

I have the following plot: ...
user avatar
1 vote
1 answer
78 views

NSum::nslim: Limit of summation k is not a number. Help, please( [closed]

...
user avatar
  • 43
0 votes
1 answer
79 views

Animate a point that follows a function inside a plot

I'm trying to create a plot that shows an animation of a point moving along a function. The idea behind this is that a I want the point to follow the function until the discontinuity point. For every ...
user avatar
  • 69
4 votes
1 answer
151 views

Empty .png figures generated by a function "PlotWithGrid" whereas no problem with Export function

I have an issue about a .wls script that I can't manage to solve for the moment. I execute it with wolframscript interpeter on ...
user avatar
  • 1
2 votes
0 answers
38 views

How to label lines and adjust ticks in `MultiaxisArrangement`?

I see we can make multi-axes with MultiaxisArrangement, but how can we adjust the ticks and how to label the lines in it or how to place plot legends of those lines?...
user avatar
  • 173
0 votes
0 answers
38 views

ParametricPlot Evaluate a fuction with two parameters

I am trying to evaluate and plot a parametric function by altering the initial conditions with two parameters. The evaluation parts works ok but i am having problem plotting it. I tried to use Flatten ...
user avatar
  • 31
-4 votes
1 answer
159 views

How to draw a heat map for some data across a circular region?

I have the following data over a circular region like this: How can I make a heat map across the circular area?
user avatar
0 votes
0 answers
59 views

How to Bring the XY Contour Plot Inside a ListPointPlot3D

The code below nicely takes 10000 pairs of {x,y,z} coordinates generated by a system of recurrence equations and plots them as ListPlot3D and ListPointPlot3D. I would like to incorporate the xy ...
user avatar
  • 1,039
0 votes
0 answers
39 views

Plotting a tangent line [duplicate]

I have to plot a function and the tangent line and I don't know how to do it. It has to be one plot function: f[x_]= Sin[x] and the tangent line for the function is x=0 Other questions didn't help me ...
user avatar
  • 1
0 votes
1 answer
63 views

Create a Table with 3 different variables from 2 Lists and 1 Table

I am new to Mathematica. I learned how to join 2 lists to make (x,y) type of representation using Transpose@{X,Y}. Now my problem is that I have to make a table of 3 variables. I have one set of data ...
user avatar
0 votes
1 answer
39 views

Plotting a conditional expression

I'm trying to plot the feasible region of a maximization problem with PlotRegion3D. This region is the intersection of two constraints and I'd like to plot also the ...
user avatar
  • 543
1 vote
0 answers
29 views

MultiaxisArrangement starting not from Zero

I want to check different signals (see code as instance). How can I change both y-axis to not start from Zero, e.g. to start from 8 and 100? ...
user avatar
  • 1,332
0 votes
1 answer
56 views

Find the parameter region where function returns negative value

I have a function $f(m,n)$ where m and n are positive integers. Suppose $f(m,n)$ is like a black box, I can get values of it when I enter values of m and n. I want to scan over a region for example $...
user avatar
  • 51
0 votes
2 answers
71 views

Plotting horizontal lines on Bode plot

I have an array of transfer functions and plotted multiple Bode plot. Now I need to add a horizontal line to show where all these Bode plots attain a gain of -8db. I know that previously people ...
user avatar
  • 31
0 votes
1 answer
61 views

How to make each value of a data set a different marker?

I have multiple data lists on a ListLogPlot. There are 8 data lists and each data list has 6 {x,y} points, and I want each point to have a different marker, on the same plot. Is this possible? My code ...
user avatar
  • 11
4 votes
3 answers
691 views

Writing code for a diagram

Could anyone please help in writing the code for the following diagram in Mathematica? Note: I want a simple code in Mathematica without using an external package.
user avatar
0 votes
0 answers
61 views

I am unable to plot 3D graph of integral function

I am not able to solve this integral ...
user avatar
1 vote
0 answers
19 views

How to get all points to show on ListLogPlot? [closed]

I have a set of data that I'm trying to plot but some of the points are missing. I've tried correcting this using PlotRange All and //N. Neither of these are showing all the points. My code/data is as ...
user avatar
  • 11
0 votes
1 answer
69 views

Plotting functions with a varying parameter whose range depends on said parameter

I'm fairly new to Mathematica so I'm not sure how I can achieve this, I've tried a number of ways but nothing has worked so far. I basically want to plot a function r against n for different parameter ...
user avatar
0 votes
0 answers
56 views

How to plot field line with exact starting and ending position continuously

As the title suggested, I want to plot the electric field lines with exact starting and ending position continuously. The code is like this: ...
user avatar
  • 55
2 votes
1 answer
59 views

Displays a few lines on same graph

I've asked a similar question before, but this time I have a slightly more complicated issue. I have a list of lists, and I want to show a few of the lines in the list. The following code will plot ...
user avatar
  • 245
5 votes
1 answer
128 views

PlotRangeClipping is not working correctly with ListLinePlot?

Bug introduced in 12.3 or earlier and persisting through 13.0.1 ...
user avatar
0 votes
0 answers
75 views

Plotting the image of $\Omega=\{z=x+iy \in \Bbb C \mid 1 \le x \le 2, 4\pi \le y \le 7\pi \}$ under $f(z)=e^z$

I'm trying to plot the image of the the set $\Omega=\{z=x+iy \in \Bbb C \mid 1 \le x \le 2, 4\pi \le y \le 7\pi \}$ under $f(z)=e^z$, but I cannot find right function to do this from the docs. Could ...
user avatar
  • 1
2 votes
1 answer
71 views

A simple way to make one stream line in StreamPlot thicker, or change its color?

Simple way to highlight streams in basins of attraction in StreamDensityPlot gives a beautiful way for coloring differently the manifolds of a phase-plot, i.e. ...
user avatar
  • 906
0 votes
1 answer
86 views

Different colors for Thread in ListPlot

Suppose I have two functions (the actual functions are different than these) defined as f[i_,k_]:=i^(0.01*k), g[k_]:=2/k I want to get many Listplots for ...
user avatar
0 votes
1 answer
39 views

Plotting between two columns of a data table [closed]

I want to plot between the 3rd and 4th column data points of a data table. I used the command: `data[[All,{3,4}]]` but it gives output as: ...
user avatar
  • 449
2 votes
1 answer
116 views

Truncated pyramid in Mathematica

Consider a truncated pyramid bounded by two rectangles: Rectangle[{-100, -125}, {100, 125}] Rectangle[{-200, -250}, {200, 250}] The first rectangle is located at z ...
user avatar
  • 3,832
1 vote
1 answer
110 views

Nonlinear Schrödinger Equation With Periodically Varying Function

I am trying to solve Equation. 42 from https://labsites.rochester.edu/agrawal/wp-content/uploads/2019/08/paper_2019_03.pdf The equation I am trying to solve is a nonlinear Schrödinger equation More ...
user avatar
0 votes
1 answer
49 views

Solution of NDSolve evaluates pointwise, but won't plot (possibly due to issue with FindRoot and replacement rules)

I'm trying to solve a pair of uncoupled differential equations using NDSolve, where the initial conditions are determined by FindRoot. Here's the relevant section of the code, including error message. ...
user avatar
1 vote
1 answer
176 views

Solving integro-differential Equation with Dirac-Delta Term For Dynamical Analysis

I am trying to solve Equation.44 from this paper https://labsites.rochester.edu/agrawal/wp-content/uploads/2019/08/paper_2019_03.pdf But I am unable to tackle the Integrand term which includes Dirac-...
user avatar
1 vote
2 answers
78 views

Plotting high precision high degree polynomial

When I plot a high degree polynomial such as (available as CloudObject since it is too big to explicitly include): ...
user avatar
  • 3,603
0 votes
0 answers
62 views

Reduce the distance between frame labels and the frames

I am going to draw a plot with below command: ...
user avatar
  • 395
3 votes
1 answer
137 views

Plot with embedded legend and white space

It would be nice to be able to include a legend in a plot which has grid lines, but not have the grid lines included in the legend box. Here is an example with the legend containing those grid lines: ...
user avatar
  • 1,887
0 votes
1 answer
36 views

Mathematic doesn't compute absolute value of difference of solution of ODE from two different numerical methods

While trying to compare the solution to an ODE by 2 different numerical methods Mathematica gives a wrong result. More specifically I have te code. ...
user avatar
  • 125
2 votes
1 answer
84 views

How to draw a tangent line for complex function?

I'm new with Mathematica and I have a problem with that, It would be great if you could help me with that. I try to draw a maximum slope of a plot in the same diagram using resource function tangent ...
user avatar
1 vote
2 answers
83 views

How to plot the perimeter of an ellipse where the variable is its eccentricity?

I'm basically just trying to plot a function where the x value is the eccentricity of an ellipse and the y value its perimeter. I've tried first defining the eccentricity ...
user avatar
  • 11
9 votes
2 answers
274 views

Using circles with various radii and colors in ListPlot

I have a big list that I'd want to plot using 'Listplot.' I replaced it with list = Table[{x, -10 + Abs@(x^2)}, {x, -3, 3, 0.3}] I wish to have a plot as the below ...
user avatar
  • 1,453
5 votes
1 answer
113 views

Style Does Not Work in ListLinePlot

The documentation indicates simple, consistent, and intuitive usage for wrappers in ListLinePlot and ListLinePlot3D. However, ...
user avatar
0 votes
2 answers
117 views

Is it how you do a projection? Is it a Projection? I don’t know what this is

I don't really know, if this is a projection. Maybe you can tell me. . . From the parametric equations ...
user avatar
  • 27
0 votes
1 answer
69 views

Problem with NIntegrate and more general problems with NDSolve

I'm new to Mathematica and I'm receiving little help for a (to me) quite difficult problem I'm trying to solve. I want to solve logarithmic Boltzmann equation for abundance of dark matter. I'm having ...
user avatar
0 votes
0 answers
32 views

Using the recursion index to compare with a value in another list

I am trying to generate an arrivals and departures plot for a signalised junction with the following parameters: lambda: rate of arrival c: cycle length of traffic lights g: length of time signal is ...
user avatar
0 votes
1 answer
65 views

Turn a NDsolve output into an exponential one

I'm new to Mathematica and I'm trying to convert the output of a NDSolve problem into an exponential one. In particular I obtain the W(x) function ,but in the end I want to plot exp[W(x)]=Y(x). I ...
user avatar
2 votes
1 answer
137 views

Convergence plot of Lyapunov exponents

I am trying to reproduce the convergence plot of the four Lyapunov exponents for a string from this paper (page 12, figure 7). The code that I have used till now to find the equations is given below: <...
user avatar
  • 181
0 votes
0 answers
69 views

I am trying to make a plot as given below. Can anyone help me with this? I use below code to get one but doesn't work [duplicate]

...
user avatar
0 votes
1 answer
51 views

How can I outline my figures?

I am currently producing some figures, all using the same colours. This, however makes them impossible to distingis from one another. This is my code ...
user avatar
2 votes
2 answers
58 views

When colouring a plot with ColorFunction, the plot exports with low image resolution

I have coloured a parametric plot with using ColorFunction, which looks fine in Mathematica (I'm on M13 ): ...
user avatar
  • 2,301