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

My plot is showing up blank? [closed]

Please see the picture for my code thanks,
1
vote
1answer
29 views

VectorPlot3D legend label

I am trying to plot a 3D vector field and I want to also attach a labeled-legend to it, but it appears that LegendLabel is not an option for ...
0
votes
1answer
91 views

How to draw a guide line in 3-dimensional space by Mathematca?

I want to use mma to draw this picture: original picture. Here is my code: ...
1
vote
1answer
63 views

Von Neumann Equation Density Matrix Implementation

I'm trying to implement the von Neumann Equation for a given 4x4 density Matrix with a time dependent Hamiltonian Hp[t_] in Mathematica but I get stuck. ...
5
votes
2answers
271 views

How to plot multifactorial function?

The multifactorial function can be extended to the reals (see TheSimpliFire answer) like so: It follows that we can extend the multifactorial function to the reals ...
0
votes
1answer
72 views

Grayscale array plot? [closed]

how to draw the grayscale arrays using the ArrayPlot command of a square of the size of 40 by 40 pixel, with the values of 100. ...
2
votes
2answers
57 views

How to exclude multiple ranges from the X-axis in ListPlot

Here I have the codes for my Listplot. ...
0
votes
0answers
26 views

PlotLabels Cut off in Show [closed]

When I try to use PlotLabels with Plot that is in Show, it gets cut off. ...
1
vote
0answers
66 views

How can I make 3 separate tables of parameters instead of only one table like this?

In the code below, how can I make 3 separate parameter tables for tup1, tup2, tup3 and plot ...
2
votes
2answers
126 views

Plot a list of functions with a corresponding list of ranges

I have 3 functions below and I want to plot them on the same graph with different range as follows. Plot f1 with x is in ...
1
vote
1answer
57 views

ComplexListPlot not complete

This code creates three complex lists. The third list is the Union of the other two. There are three plots. When applying ...
1
vote
1answer
34 views

Mirroring the graph on the negative y axis

Another quick question, I have been trying to plot a phase plot, which has resulted in some issues. I know that there is a negative axis which it is also transposed on. However, when I include ...
0
votes
1answer
46 views

Density Plotting and Manipulate

I have here a code. I have the density plot of a function with the parameters. May I ask about correcting some errors. (This is a Gaussian Function) The parameters ...
0
votes
0answers
71 views

Stop plotting after a certain point

I'm plotting a function, which is the result of solving a set of coupled differential equations. I am using the Manipulate function to allow the variation of 3 ...
1
vote
1answer
52 views

Generate Recursion Tree of Fibonacci Sequence

I'm using this example to study Mathematics.Example Demo. In this example, before generating recursion tree, she flats the function. But I have a difficultly to understand how flatten works, ...
1
vote
1answer
26 views

How do I plot various values of the partial sums for a function with 2 variables?

This is what I have tried so far. I have a function defined as the below: ...
1
vote
2answers
70 views

Colour each graph differently

I have a Manipulate function, which allows me to compile plots on a single plot (see below). I am trying to make each line on the compiled plot to be a different ...
0
votes
1answer
65 views

log plot not plotting correctly

I am trying to get the following function, to plot with a log y axis. However, when I replace Plot with LogPlot, the plot is not ...
2
votes
1answer
81 views

Manipulating GeoPlots Effectively

I've built a small interface for project because it's been a bit disorienting for me and others to quickly change the range on the plots. Eventually we'll tie different features of the data to colors ...
0
votes
0answers
69 views

First derivative of curve and onset and endset points

If I have the following data: ...
1
vote
0answers
62 views

Equationtrekker is not giving plots

Just a quick question, I need to draw some phase plots via Mathematica and saw the application equation trekker. This seemed helpful and legit from a Mathematica website however when I tried to apply ...
0
votes
1answer
65 views

Plotting a cycloid does not output a plot [closed]

This is my first time evaluating Mathematica to study differential geometry (Curves and Geometry by Alfred Gray) before I consider buying the Mathematica cloud version. I simply wish to plot a ...
5
votes
2answers
89 views

Two functions in one plot with different y-axis scales?

I have two function that I plot over the same domain. They have quite different ranges. I wanted to show them together in one in one plot which displayed both over their full range. I solved the ...
2
votes
0answers
55 views

Can you calculate the area of region that is plotted with NSolve or FindRoot?

I plotted a pretty complex region in the xy plane (code given below). Basically, one of the inequalities is really complex and needs to be numerically approximated. In my code I do this with FindRoot. ...
3
votes
1answer
96 views

Elegant method for computing 3D normals to a RevolutionPlot3D

I create a (one-dimensional) radius function, such as: r[h_] := Sin[2.5 h] Exp[-h]; where h is a "height." Now I ...
1
vote
1answer
68 views

SliceVectorPlot3D example code gives empty plot

I want to use SliceVectorPlot3D for visualization, but it always returns an empty plot. I have been trying to run several of the examples from the documentation, ...
1
vote
1answer
76 views

Plotting an Almost Fourier Transform like 3Blue1Brown

Two years ago 3Blue1Brown posted this video. The important part starts at 9:38 to 9:54. I am trying to plot his functions in Mathemtica. So, for the first plot with 2Hz I got ...
0
votes
0answers
43 views

RegionPlot Not Plotting Correctly

Im plotting a region in RegionPlot and it gives me an output but it does not look like it is plotting correctly. This may be an issue with my syntax but I'm not seeing where the error could be. For ...
1
vote
1answer
79 views

Steepest descent path of complex saddle

I am trying to understand a certain function on the complex plane, and in particular the contours of steepest descent associated to the saddles of such function. Using ContourPlot I can easily draw ...
0
votes
2answers
49 views

I want these two graphs to agree in color setting. One is a density map of the other 3d graph

I want these two graphs to agree in color setting. The 3d map and the code are: ...
1
vote
0answers
51 views

Plotting Complicated Region in Mathematica

I'm trying to plot the region corresponding to the following code. The f[0,0,5] lines were just me testing the functions. When its plotted, the region only shows the first part of my region plot ($y\...
0
votes
0answers
33 views

Assign Variable to NSolve

I'm looking to create an interactive region plot in Mathematica, and it's quite a complicated region (seen below).. The variable p is actually a function of y, and it's too hard to solve analytically. ...
1
vote
3answers
62 views

How to plot the max value of a coordinate using ListDensityPlot?

I would like to plot y×x from a list with 3 levels using ListDensityPlot. Each sublevel of the list have coordinates of the type ...
1
vote
0answers
36 views

Shade area between two Y values [closed]

I am trying to plot a list of values with ListPlot and then: add a horizontal line add an error band to the horizonal line, i.e., a shaded area with the horizontal line at its center. So far I'be ...
0
votes
1answer
29 views

Plot of derivative does not show

I have following function 4/((1 + v1[h])*(1 + v2[h])): ...
8
votes
3answers
256 views

How to use Filling in PolarPlot?

For example: PolarPlot[{1, 1 + 1/10 Sin[10 t]}, {t, 0, 2 Pi}] how to fill color in the space between 2 functions?
6
votes
2answers
1k views

Why is this plot drawn so poorly? Can I draw a better image?

The function y = 4 - 4 ( (1 - x^4)^(1/4) ) is defined on the interval (-1, 1) but as you can see on the image rendered with ...
6
votes
1answer
72 views

Labeling points in plot made from a dataset

I am trying to use Mathematica to do some data analysis. I am trying to label points in a plot of a dataset. I know that Callout should work, but can't for the life ...
2
votes
3answers
48 views

Frame tricks in list plot overlap

Creating a ListPlot showing CfC emissions per year from 1961-2014, using FrameTicks but the years on the x-Axis overlap. The years are tied to emissions, so can't take any out. Suggestions on how to ...
0
votes
2answers
69 views

How can I mark the intersections on the x axis of the following graphs?

Im trying to reproduce the following graph: I have the parabolas graphed, but I want to indicate the intercepts with the x axis by some point or cross, also I want to eliminate the numbers and the ...
0
votes
0answers
28 views

ARIMAProcess function: how can I use raw data sheet in ARIMAProcess?

I have a data column given by: $$0.0000093\\ 0.0000019\\ 0.0000003\\ 0.0000002\\ 0.0000032\\ 0.0000002\\\\$$ How can I use the ARIMAProcess function$[1]$ on this data sheet? $$ * * *$$ $[1]$ https://...
1
vote
0answers
41 views

How can I reproduce the following hyperbolic paraboloid graph? [closed]

I need to reproduce the following figure: I tried graphing a paraboloid and then using the function Cube[] to insersect graphs but its a disaster. Thanks in advance.
1
vote
0answers
56 views

Color plot of $x^4 + y^4 + z^4$ over the unit sphere $x^2 + y^2 + z^2$ [closed]

I want to color plot the function $x^4 + y^4 + z^4$ over the unit sphere. What I tried is ...
4
votes
2answers
97 views

Applying an exponential decay fit with uncertainties

I have some data from a radioactive decay experiment that I'm trying to fit an exponential decay curve on that will take account of the uncertainties on the data, and then ideally return the data for ...
1
vote
2answers
112 views

How do I make every plane in ContourPlot3D look like a perfect rectangle?

When a plane in ContourPlot3D hits the boundary of you plot range it will be naturally cut of there. This will not always give pretty pictures. For example here I ...
0
votes
1answer
29 views

Plot markers getting compressed in double y -axis plot

I have to plot a list plot with the double y-axis; range y1 = {0, 125} and range y2 = {100, 900}. I have to use markers for the ...
2
votes
2answers
76 views

How can I show the regions between the grid lines in a RadialAxisPlot in different colours?

With the following: RadialAxisPlot[{3, 8, 5}, AxesLabel -> {"a", "b", "c"}] I obtain the expected output: But I would like the ...
1
vote
1answer
59 views

How to plot multiple equations / solutions on same graph?

I've been working with physics and I want to plot the potential such that I can have multiple lines that represent multiple potentials. The equation is: where V(r) is the potential, and I want to ...
0
votes
0answers
27 views

Plotting with a discontinuous axis using Piecewise ScalingFunctions

I'm trying to plot some data and a curvefit with a discontinuous x axis. My attempt is borrowed from this answer. ...
0
votes
2answers
92 views

Unpredictable behavior of a function

The Hermitian matrix mat is used to construct a function fun[x, y, z] as follows: ...