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

How can we specify the size of plot independently along x and y?

I have this plot with a custom FrameTicks ...
0 votes
0 answers
7 views

Additional line in the Plotting

I'm trying to plot a function, the problem is that the plot contains additional lines which originate from the solution itself, but at the same time removing the solutions will delete a whole portion ...
0 votes
1 answer
29 views

How can one plot a sum in mathematica?

I would like to plot the following answer to the heat equation, Sum[(((-1)^n - 1)/n^2) Cos[n x] Exp[-(n^2 t)], x] But since it is a sum, it does not appear to work....
3 votes
3 answers
126 views

How can I plot only legend of this?

How can I plot only lengend of this? ...
2 votes
1 answer
105 views

How can I remove plot markers at some desired points?

How can I remove plot markers at some data points? For example, I want to remove one plot marker at the circled point leaving only one marker there. I tried deleting the data points but this would ...
1 vote
1 answer
53 views

Separate ContourPlot3D generated planes

I use ContourPlot3D[ -7 - 12 x + 32 x^2 + 54 y - 28 x y - 67 y^2 + 16 z + 88 x z - 136 y z + 28 z^2 == 0, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}] get this You ...
1 vote
1 answer
68 views

An issue in ListDensityPlot

I am having an issue with getting a nice plot but ListDensityPlot is returning a plot with white area. I thought this could be due to the singularity, then I have ...
2 votes
4 answers
2k views

Fitting and plotting Weibull distribution

How can I find the best fitted 2-parameter Weibull's distribution (PDF) to describe my data? How can i plot my data and estimated distribution all in one graph? How can I show/compare results of ...
4 votes
1 answer
186 views

How can I remove markers with numbers 2, 5, 7?

How can I remove the markers with some specific numbers, for example like 2,5,7? ...
9 votes
3 answers
189 views

How to make these callout labels not overlap

This is my code: ...
0 votes
1 answer
79 views

Custom frame ticks in listplot

i am trying to ListPlot some data extracted from the approximation of a complicated function. The minimal code is the following ...
1 vote
2 answers
131 views

Invalid comparison in Manipulate with Stepwise function

I want to draw a graph of the function that I specified using Piecewise. Though I can draw a graph, I keep getting Min::nord/<...
1 vote
1 answer
39 views

How do I construct and plot functions properly using NestList?

I am trying to construct a function using NestList and plot the values. Although the individually used and defined functions in my notebook seem to do the right ...
1 vote
1 answer
30 views

Additional lines in the plotting graph

I tried to plot the following ...
0 votes
0 answers
44 views

How to mix two styles with some lines with filled and non-filled markers?

How can I mix styles with some lines with filled and non-filled markers? The post here mentioned all cases but I couldn't combine them into one plot. ...
1 vote
1 answer
193 views

RegionPlot of the Maximum of a function

For the function fun[a_, b_, x_, y_] = Sin[a x] Cos[b y] (a x + b y);corresponding to $x$ and $y$, I need a RegionPlot showing the maximum of function $fun[a, b, x, ...
4 votes
2 answers
233 views

How can I move these numbers to the right side of the y axis?

How can I move these numbers to the right side of the y axis? (preferably not using frame) Plot[1 + x^2, {x, -5, 0}] Here is my orginal problem. I tried my best ...
1 vote
2 answers
71 views

Defining Dirichlet Boundary Conditions on an Imported 3D Object with Apertures in it

I am trying to simulate a static electric field (in 2d and 3d) as it passes through a couple of apertures in a 3D "metal sheet" (model imported as a .obj file) given here: https://www....
0 votes
0 answers
33 views

Is the integration feature of an interpolated plot/function supposed to have a much larger maximum and range values in general?

So, I have imported data from a software called NextNano, plotting electron density. My first step was to define the data within the desired domain data={,},.... ...
0 votes
0 answers
46 views

How to Combine 3d Plots

I am trying to analyze data from a high-altitude balloon (HAB) launched in Ohio, and I would like to use Mathematica to do this. Currently, I have used Mathematica to generate a plot of the topography ...
0 votes
1 answer
55 views

Add barlegend colored by area of circle

I am using the following code where color and color barlegend show the radius of the concentric circles: ...
2 votes
2 answers
148 views

How to plot two functions?

a[x_,y_]:=x^3+y^2; b[x_,y_]:=x^2+y^3; I want to plot a[x,y] in x axis and b[x,y] in y axis for different values of x and y say, we fix y=1 and x goes from 1 to 10.
2 votes
1 answer
71 views

Can BarLegend Tricks be set according to the function?

I am using it like this . Now how to set barlegend numbers according to the c[x] value? ...
2 votes
1 answer
129 views

How to add color BarLegend here?

How can I add a BarLegend to the following plot? ...
1 vote
3 answers
152 views

Help me plot this function [closed]

f[k] = -(1/2)^k - ((1/4) (1 - sqrt[5]))^k/sqrt[5] + ((1/4) (1 + sqrt[5]))^k/sqrt[5] (and also f[k] = 0 when k = 1,2) I need to make a lineplot of this function in k = 3,4,5,... ,20. why this does not ...
3 votes
2 answers
113 views

Modifying DistributionChart Bin Counts

I have a dataset (converted to a list of lists) that has 50 records, the first column of which represents the number individuals of a species taken in a trawl, the second column the minimum depth of ...
30 votes
4 answers
3k views

Scale Insetted Characters to Plot

I am trying to place a curly brace within a plot such that the top/bottom of the curly brace line up with two horizontal lines in the plot: I have not been able to find a way to make the curly brace ...
0 votes
1 answer
37 views

How to use Callout for joined points line

I want to use Callout to make a label of my joining point, instead of using PlotLabels like this ...
7 votes
4 answers
313 views

Finding "middle curve" inside region

I have some simply connected region, as shown below. ...
1 vote
3 answers
257 views

The fitting curve cannot be found correctly

I want to fit this function $$ \operatorname{PF}\left(\sigma_{f_{0}}\right)=1-\exp \left[-\left(\frac{\sigma_{f_{0}}-\sigma_{\min _{0}}}{\lambda}\right)^{k}\right] $$ I already have some points ...
2 votes
1 answer
165 views

ContourPlot U^2+W^2=V^2 -> V(U), where U, V solutions of equation from special functions [closed]

CountourPlot W(U) I have this following code of it: ...
0 votes
2 answers
98 views

How to plot functions from user input?

Manipulate[g[x_] = f; Plot[{g[x], g[2]}, {x, -9, 9}], {{f, "Enter a function...", "f(x) ="}}] Hi, I'm relatively new to Mathematica and this ...
1 vote
1 answer
192 views

How do I plot the Lorenz attractor inside an ellipsoid? [closed]

How do I plot the Lorenz attractor given by the following code, inside an ellipsoid. I have two things with me: The Lorenz system with P=6.06739, b=2.6678, r=30 and x,y,z are functions of time. ...
5 votes
1 answer
83 views

Copy value of Tooltip from AnatomyPlot3D

When plotting anatomy data with AnatomyPlot3D[Entity["AnatomicalStructure", "LeftIndexFinger"], Method -> {"Tooltips" -> True}] ...
10 votes
1 answer
162 views

The effect of NormalsFunction on the number of function evaluations in Plot3D

An interesting issue was raised in comments to the following question: Monitoring Plot3D with a given number of plotpoints. We were discussing the fact that a ...
1 vote
1 answer
41 views

Issue with using complexplot with Nearest

I have been trying to create a certain fractal with Mathematica but the main issue is that if I try and do something like ...
0 votes
0 answers
81 views

Is there any way to magnify the figures in the "Show" command?

I am trying to magnify a small part in the following Mathematica figure. What should I write in the 'show' environment to magnify the specific part of the figure? ...
0 votes
1 answer
53 views

Ploting solution to a differential equation with different parameters

I want to plot the solution to the following differential equation with different values of parameters. What is the best way to do it instead of solving the equation individually by inserting the ...
1 vote
1 answer
46 views

Combining a ContourPlot3d and parametric plot 3d [closed]

I am trying to put these two graphs together but and getting the shown error: ...
1 vote
2 answers
65 views

2D Scatter plot with z-value used for PlotLegends

I have a data set that can be generated as follows: x=RandomReal[{1,5},100]; y=RandomReal[{11,50},100]; z=RandomReal[{7,25},100]; For each of the (x,y,z) 3-tuple, ...
-2 votes
0 answers
106 views

Eccentric Circle in polar coordinates

EDIT1: I am trying to analytically obtain an equations $ r=f(\theta), \psi=g(\theta) $ of an eccentric circle in polar coordinates from its ode with NDSolve using ...
1 vote
1 answer
143 views

VectorScaling on VectorPlot produces vectors of wrong length

I'm trying to plot the following VectorField: VectorPlot[{x/Sqrt[x^2 + y^2], y/Sqrt[x^2 + y^2]}, {x, -5, 5}, {y, -5, 5}] I want to use a VectorScaling-option such ...
0 votes
1 answer
41 views

delete of some special points

I wan to delete some points in this picture ...
0 votes
0 answers
42 views

Plotting using the logit scaling functions

...
2 votes
2 answers
96 views

PolarPlot with function output represented with color rather than distance from origin

A normal PolarPlot takes in a function of an angle $\theta$ and outputs a 2D graph in which the value of the function at each value of $\theta$ is encoded by the ...
5 votes
2 answers
201 views

ContourPlot -- coloring the plot lines

I have 2D implicit functions which I would like to plot in color, with given color functions. E.g.: ContourPlot[y^2 - x^3 + x^4 == 0, {x, 0, 1}, {y, -1/2, 1/2}] ...
4 votes
1 answer
99 views

How to remove zero after the comma in a plot

Please, how to remove the 15 zeros after the comma and keep only one digit in the plot below? This is the code for example ...
0 votes
1 answer
37 views

Discontinuous plot problem while plotting after using NSolve

My problem is when I try to numerically solve an equation, and then substitute the solution in my function (i.e substituting y in the x's in my function), the plot appears to be discontinuous (it ...
4 votes
3 answers
363 views

How to Plot big data without wrong values?

I have to plot a big file with 10 data (data01{x1,y1}, data02{x2,y2}, ...., data10{x10,y10}), for example for data01 (here is the link of data01) I get this plot with some wrong values ...
4 votes
2 answers
171 views

How do I plot a function along a specified contour of parameters?

I have a scalar function (actually, a set of eigenvalues) which takes two parameters, say $f(x,y)$. I would like to make a 2D plot of this function for a continuous, closed loop of parameter values in ...

1
2 3 4 5
282