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
3answers
55 views
2
votes
1answer
52 views

Colorfunction in 3D plot

I used Matlab jet color by applying the steps in this link as follows. ...
0
votes
0answers
27 views

How to add a section for particular points on the plot? [closed]

I searched in this forum, and I browsed the Mathematica help, but I couldn't find the answer. What I look for is an option that joins a line with some labels in the plot. I was pretty sure I found ...
0
votes
1answer
57 views

Use the new MaterialShading as PlotStyle?

For a no-color print book it can be complicated to find proper gray tones in a multi-function plot to distinguish the curves. One can use different types of gray or dashing, and to some degree it ...
1
vote
1answer
22 views

How to get the data used in AudioPlot

How can I get the data used to plot when using AudioPlot that produces a graph such as:
0
votes
2answers
54 views

Extract data from ParametricPlot to a file

I have a plot which is the output of a ParametricPlot command, and I want to save the data to a file, ideally with the columns x, ...
0
votes
0answers
30 views

How to make the axis labels and axis values larger? [closed]

How to make the axis labels and axis values larger?
0
votes
1answer
59 views

When should one use RegionFunction with ParametricPlot3D?

According to the documentation, "RegionFunction is an option for plotting functions that specifies the region to include in the plot drawn", and it can be ...
0
votes
1answer
50 views

ParametricPlot Piecewise Bug

I have a code where I wrote a piecewise function and did a parametric plot. However, there seems to be something wrong with the plot because there is an edge that appeared which should not be there ...
0
votes
1answer
31 views

Labeling function: format of numbers

I think this will be easy for many of you, but I struggle. How can I make the label to be n.nn and not this hugely long numbers? See the screenshot.
-1
votes
1answer
67 views

Getting too many errors while trying to contourplot

I am trying to contourplot deviations for various combinations of a,b,k,l with the following code. Clear["Global`*"] ...
1
vote
2answers
44 views

Color-code edges by order in edge list

Given a graph with vertex coordinates list V and edge list E, how can I visualize the order of appearance of edges in E? It is similar to this and this question which ask how to color-code points in a ...
0
votes
0answers
57 views

How to plot a 3D plot using a three lists? [closed]

Suppose I have three lists as my data list1={1,2,3,4}; list2={10,20,30,40}; list3={100,200,300,400}; where I want to use 3Dplot so that ...
0
votes
1answer
56 views

How to ParametricPlot an InterpolatingFunction

Hi I can Plot the result of an NDSolve (toy example), but I cannot ParametricPlot it. ...
2
votes
1answer
43 views

Listplot legends showing very small point size

I have the following code: ...
1
vote
1answer
62 views

trying to contourplot deviation but it is not giving output or error

I am trying to have contourplots of deviation dc for variables a and b. ...
0
votes
1answer
38 views

Plotting a function with restrictions

I am trying to plot the following $U_a=\frac{wXn_l}{n_a}+H$ as a function of $s$ which is given by the expressions below, where I assign values to the constants ...
4
votes
1answer
102 views

How to plot a portion of a curve and the area under it [duplicate]

I want to display the portion of the curve Plot[Exp[-x^2], {x, 0, 1}, PlotStyle -> {Blue}, Filling -> Bottom, GridLines -> {{0.6}, {0.7}}] (and the area ...
3
votes
1answer
77 views

Plot with lines highlighting different regions

I want to plot Plot[{Sin[x], 0.3}, {x, 0, 2 \[Pi]}] with the portion below 0.3 highlighted as by lines as shown
-1
votes
0answers
20 views

Plotting a function with a variable distributed uniformly

I am trying to plot the following as a function of $s$: $$ u_f= \frac{P(S-s)\sigma_i}{n_f(s)}+H(s) $$ where $\sigma_i$ is distributed uniform on the interval $[\sigma_l,\sigma_h]$, and $s \in [0,S]$. ...
1
vote
3answers
74 views

BodePlot to calculate the amplitude and phase at a specific frequency

I have transfer function: $W=\frac{1}{s+1}$ tf = TransferFunctionModel[{{1/(s + 1)}}, s] BodePlot[tf, {.01, 100}] It is very simple to construct a Bode diagram, ...
1
vote
2answers
96 views

HatchFilling in Mathemathica fills the entire are under curve

The Hatchfilling command is failing for me, i want to fill the area under the curve with vertical lines. If any suggestions plz do share. Thankyou.
1
vote
2answers
89 views

Polar axes on a RegionPlot do not appear in correct location

I'm trying to plot the region where some complicated function $f$ is positive, within the circular region 0<R<π/2. I based my code off this answer, however the resulting polar axes do not appear ...
0
votes
0answers
33 views

Plot a function: inputs needed [closed]

I'm trying to graph the function ua using the following code: P=1;[IndentingNewLine]w=1;[IndentingNewLine]x=2;[IndentingNewLine]nl=3; n = 5;[IndentingNewLine]S=1;[IndentingNewLine]sigmaL=1;[...
1
vote
3answers
103 views

Find FT and r.m.s noise of a signal

I have a signal : ...
-1
votes
0answers
39 views

ListLinePlot outputs a blank graph [closed]

My program contains a variable like this ...
3
votes
1answer
83 views

ParametricPlot with variable range

I want to plot a triangle like (not exactly, it is a simplified version) using points (x,y) with 0 < x < y in the range <...
0
votes
0answers
40 views

Dot Density Plot for 3D Probability Density Function of {x, y, z}

I have been calculating probability density functions for different states in the hydrogen atom, and want to plot them in 3D using a dot density plot like this one. However, I have not figured out how ...
2
votes
1answer
81 views

How can I make this plot easier to see?

How can I make this plot easier to see? In this plot the waverform is not clear. If I plot with w only from 0 to ...
0
votes
0answers
16 views

Ticks does not show origin in plot

I am unable to denote the origin of my plot. ...
0
votes
1answer
56 views

Plot real zeros regions of the polynomial

Good morning everyone! One problem have appeared. I'm trying to plot regions with different number of real zeros of the polynomial. I have this code: ...
-1
votes
0answers
50 views

A problem with a supposedly simple Plot [closed]

I am trying to redraw the function F as a function of Jt. Where $$F = {{(1 + 2{{\left| {{D_4}\left( t \right)} \right|}^2})} \over 3}$$ I should get the same result in the paper "Annals of ...
-1
votes
0answers
25 views

Plot a vector field from data [closed]

I try to plot a vectorplot3d from a text file, .txt with 3 componements I appeared like a table or a list at first and i try to plot the result as vectors,because i have a velocity field but ...
2
votes
2answers
50 views

How to show orthogonal views for a 3D plot [duplicate]

How to show orthogonal views for a 3D plot(ParametricPlot3D)? Please refer to the following picture(top view/front view/side view):
0
votes
0answers
32 views

Converting a given region to a unit square with double integral

I have to write 4 equations.I am listing their code below.I am asked to convert the region obtained from these 4 equations to unit square.I have developed a code but I am getting an error. Can you ...
1
vote
0answers
50 views

Specifying Contours in “CyclicReImLogAbs” for ComplexPlot/ComplexPlot3D

How can I specify where and/or how many contours appear in ComplexPlot and ComplexPlot3D when using the "CyclicReImLogAbs" color function? I'm referring specifically to the black and white ...
0
votes
0answers
20 views

Place BoxWhiskerChart onto plot

Suppose I have two plots: one which is a generic curve, the other is a box whisker chart of data. How can I overlay the two (with the outliers removed)? ...
2
votes
1answer
85 views

How to plot Quantum Wave-Funktions like $e^{ix^2}$

I would like to Plot a function like $e^{ix^2}$, similar to the one seen in this video at 1:26: https://www.youtube.com/watch?v=p7bzE1E5PMY&t=86s. I think what I'm trying to do is to plot the ...
0
votes
1answer
40 views

Plotting with satisfying simultaneous condition and combining them

I have a code which reproduces some mathematical calculation. And it goes like this: ...
0
votes
0answers
31 views

Common boundary/axes in animation of multiple plots [closed]

r=1; Animate[ParametricPlot[(r/p) {Sin[s/r], 1 - Cos[s/r]}, {s, 0, p*2 Pi r}, GridLines -> Automatic, PlotStyle -> {Blue, Thick}], {p, 1/10, 1, 1/7}] How ...
2
votes
1answer
49 views

How to mark nodes and insert weights in an adjacency graph?

I have a graph with 12 nodes. The x and y coordinates are give as ...
4
votes
1answer
50 views

ColorFunctionScaling and OpacityFunctionScaling with values other than 0 and 1

I have a 3D density plot that I was able to get to look okay with setting ColorFunctionScaling and OpacityFunctionScaling to ...
0
votes
1answer
31 views

Rescale color function of multiple plots

I have 5 ListDensityPlots that are using the same color function but the color bar runs over a different range in every plot. For example here are two of the 5 plots that I have I want these plots to ...
0
votes
1answer
102 views

Moving x-axis from above to below the graph? [closed]

I have plotted $y$ and $R_0(s_\infty-1)$, for different values $R_0$. How do I flip the x-axis so it doesn't look messy? My attempt: ...
2
votes
0answers
105 views
+50

Calculating Shapley Values

Introduction I've come across a post from WSS 2020 about how to calculate Shapley values (SV). In this notebook, the SV are found by perturbing individual model inputs on a single case and then ...
0
votes
1answer
46 views

Why do the points in a curve are connected to those in another after FindClusters?

I have a few questions about the function FindClusters. There's two group points data, and the following figures are obtained from these data. Figure 1-1 is the the ...
0
votes
0answers
61 views

Plotting two functions values in two axis

I have two multivariate functions $f_1(x,y)$ and $f_2(x,y)$. I want a plot in which in the horizontal axis I have the values of $f_1$ in a specific point $(a,b)$ and on the vertical axis I have the ...
1
vote
1answer
76 views

Plot “Findroot” with very complex variables

I ran into an extremely complex "zero problem" and don't know how to solve and plot it. Can anyone help with this, please? [Pi]s and [Pi]r are objective functions, pd, po, qd, qo, and [Phi] (...
3
votes
1answer
41 views

LayeredGraphPlot: How to draw inputs and outputs edges without first and final vertex?

I would like to obtain entrance edge and output edges as in the following figure My code is the following: ...
-2
votes
0answers
37 views

How can we write code to find the number of patterns except impossible code? [duplicate]

I'm writing a code to find the number of lock patterns on my Android phone. In 3.가능한 패턴의 경우의 수(Number of possible pattern cases), How can we write code to find the number of patterns except impossible ...

1
2 3 4 5
259