We changed our privacy policy. Read more.

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
1answer
11 views

Angle in degree in mathematica program

I will draw a function in terms of angle in degree but I did not know the package used to work with the degree. Here is the code: Ky1 = x Sin[[Theta]], f[[Theta]_] = ky1 Cos[[Theta]]; Plot[{f[[Theta]]}...
0
votes
2answers
50 views

Same integral yielding to different results

I am currently working with the following integrals \begin{equation} \int_{0}^{\infty} dk\thinspace \frac{k^{3}e^{-2kd}}{\omega^{2}+k^{4}} = \frac{1}{\omega^{2}d^{4}}\int_{0}^{\infty}d\epsilon\...
1
vote
0answers
35 views

plot and limit are not in agreement [closed]

I am plotting the following function $\frac{\sqrt{t \text{$\omega_c $}}-\sqrt{\pi } e^{\frac{1}{t \text{$\omega_c $}}} \text{erfc}\left(\frac{1}{\sqrt{t \text{$\omega_c$}}}\right)}{(t \text{$\omega_c$}...
0
votes
0answers
40 views

How to increase the number of contours in contour plot [closed]

I want to make a contour plot and the code is like this: ...
0
votes
2answers
31 views

How do I label my BarLegend? [closed]

How do I add a label to my BarLegend? I would like to add the label "Depth" to the right of my BarLegend. ...
2
votes
1answer
22 views

Weird line appearing in BarLegend

My BarLegend has a weird line appearing in it. Why?? BarLegend[{GrayLevel, {0, 1}}]
0
votes
0answers
42 views

PlotRange Mathematica [closed]

Does anyone else wonder why the default plotting option in Mathematica is not PlotRange->All ? A naive data analyst could easily get misled when performing exploratory data analysis using PlotRange-...
1
vote
0answers
66 views

Solving a complicated, non-polynomial dispersion relation

I am quite new to Mathematica, so I apologise if the following question is very basic; I can't seem to find an appropriate answer anywhere! I am trying to solve a quite complicated dispersion relation ...
2
votes
2answers
201 views

How to visualize a Lagrange problem with Mathematica?

I had asked a question here, which I was advised to open a new question for my further problems. I have a function as $f(a_1, a_2) = a_1^2 \sigma_1^2 + a_2^2 \sigma_2^2$, which is subjected to the ...
1
vote
0answers
65 views

Axes ticks scaled in powers of ten

I'm trying to plot the solution of an ODE and I would like to have the ticks in powers of ten. Although, this happes automatically from Mathematica for small orders, such as ...
0
votes
0answers
30 views

How to plot linear fits with a specific range from imported data?

So I imported multiple data points starting off from data1 to data11. I have them configured onto a graph, but I also have to find the line of best fit for each. I need to find the line of best fit ...
2
votes
2answers
174 views

How can I make sure that there are real roots for the given function? Can I trust the plot only?

I have this function $$f(x)=(\pi -2 x)^2 \sin \left(\frac{\pi ^2}{2 x-2 \pi }+\frac{1}{2} \csc ^{-1}\left(\frac{4 \pi (\pi -x) \csc \left(\frac{\pi ^2}{x-\pi }\right)}{4 (\pi -x)^2+\pi ^2}\right)\...
3
votes
0answers
49 views

Using ColorFunction Rasterizes the plot

When I make a simple plot using ColorFunction, the Mathematica rasterize the plot. Is anyone else having this issue? Does anyone know a way to avoid this? ...
2
votes
1answer
127 views

Combining Plot with VectorPlot

I'm trying to combine the plot of a function with a vector plot, but no matter what option I choose for VectorPoints, the resulting combined plot just looks ridiculous. For example, the combined plot ...
-1
votes
1answer
52 views

Limit Plotting Issue [closed]

I recently installed Wolfram Mathematica and attempted to graph a limit, but it seems that it refuses to do so. The equation is $\lim_{x\to e^-}\frac{e}{e-x}$ and the input is Plot[Limit[Divide[e, e - ...
4
votes
1answer
145 views

How to force MatrixPlot to plot considering a whole color spectrum?

I am trying to do the following: ...
0
votes
1answer
33 views

Error in plotting two spheres under a transformation

The following code tries to plot two unit spheres undergoing transformation of their radius and also a translation in z direction: ...
0
votes
1answer
40 views

PlotStyle not coloring individual points correctly

I am trying to create a 3D scatter plot, where each point is colored according to a fourth parameter (not corresponding to any of the values on the axes). To do this, I generated a list of colors, ...
0
votes
1answer
58 views

How to show these two plots "clearly"?

The following two plots are not visible when shown togather: ...
0
votes
1answer
65 views

Plotting with NMaximize

I have the following: ...
0
votes
1answer
29 views

ColorFunction scaling based on third column in matrix

I would like to plot data so that the first column is in the x axis, the second column is in the y axis and the third column is the input for a custom ColorFunction. The ColorFunction is simple: white ...
1
vote
2answers
83 views

AxesOrigin doesn't appear in plot

I have: ...
1
vote
1answer
50 views

Understanding plot of Root[] object

I'm trying to understand the plot of this Root object ...
0
votes
1answer
40 views

How to use Manipulate for the variable $z$ in the given ContourPlot of three functions?

I have these three functions (two of them 2-variables, and one is 3-variables) $$\{\quad f:=f(x,y)\quad,\quad g:=g(x,y)\quad,\quad h:=h(x,y,z) \quad\}$$ I would like to have ...
1
vote
1answer
66 views

Why are there speckles on the surface generated by ListContourPlot3D

ListContourPlot3D[ Table[x^2 + y^2 + z^2, {x, -1, 1, 0.02}, {y, -1, 1, 0.02}, {z, -1, 1, 0.02}], Contours -> {1}, Mesh -> None] will generate plot as ...
0
votes
0answers
32 views

ParametricNDsolve and Manipulate

Currently, I'm trying to solve a differential equation using the function ParametricNDsolve and then use Manipulate function in order to see what happens when the diameter changes so I can find the ...
1
vote
1answer
47 views

Is there a way of plotting ParametricListPlot3D?

I wish to draw a closed shape in 3D using a list of points. Specifically, I want to plot the product of an expensive function "qfun" of angular coordinate theta, with a simple function of ...
1
vote
1answer
31 views

Plotting issue with multi variables [closed]

I'm having trouble graphing this function in Mathematica, I'm trying to graph the three below functions but I don't know where I'm going wrong. This is the error message I keep getting. What am I ...
1
vote
1answer
49 views

Non Factoring of quadratic [closed]

...
1
vote
1answer
28 views

Need to assign the x-axis values consistent with the calculations used

I'm capitalizing on someone else's work with regard to steam tables. I wanted to make some unusual kind of charts. I can get most of the way to the chart design. But I have trouble with the x-axis, ...
0
votes
1answer
53 views

How to use Nsolve to tackle a Bessel-related function?

I tried to get the result of the value of ncoeff as the function of wl,codes was pasted blow as well as the picture in MMA,can somebody give me some guidance ,cause my codes take a long time though,it ...
4
votes
1answer
109 views

"Poor" export quality for SVG image

I export an image in SVG format using the Export command (code below). I find the quality okayish, but not great. I tried playing around with ...
1
vote
0answers
39 views

Mesh Control Problem

I am having trouble combining two graphical objects. The problem has to do with controlling mesh lines. The simplest failing example is combining a circle graphics primitive with a RegionPlot. Either ...
1
vote
1answer
132 views

(In)Stability of equilibrium points in a vector plot (continued)?

I got a nice answer from Chris to my earlier question(though there are still some points unanswered): (In)Stability of equilibrium points depicted in a vector plot? Now consider the following system: <...
0
votes
1answer
55 views

How to make the following plot

Consider the following dataset: tab1 = Table[{i, i^2, 0.8*i^(3/2), i^4}, {i, 1, 10, 1}] Is it possible to make a plot similar to the one shown below (where there ...
3
votes
1answer
161 views

How to draw several contours label in separate colors

Good morning. I have two equations (or more) that I want plot with ContourPlot colored with different colours and labelled according to equation order, in a automatic way. I have tried several ...
6
votes
4answers
822 views

Three plots in one plot

How can we make this comparison more clear,visible and understandable? Secondly, I want to add the plot legends to the inside of the plot (to a suitable place). ...
0
votes
2answers
36 views

Plot markers size, shape and placement in ListPlot

I have the following test data ...
1
vote
1answer
43 views

Setting Size and Color of CalloutMarker?

Can we set the size of CalloutMarker? Also how to change the color of the CalloutMarker and ...
8
votes
1answer
139 views

Extraneous curve due to MeshFunctions

I was using MeshFunctions to get intersection of quadratic with plane, but am getting some unexpected curves, any idea how to get rid of them, or maybe a more ...
0
votes
0answers
51 views

Drawing coordinate axes in a 3D plot

How can one draw the coordinate system, i.e., x, y, and z axes with origin at (0,0,0) in the following plot: ...
1
vote
1answer
51 views

Piecewise plot does not show all components

I have a function SA[zs,zh] where I want to do a ParametricPlot of a Piecewise function with ...
0
votes
0answers
39 views

An issue in Exporting 2D contour plot as .PDF file

I have a contour plot (Windows-10, Mathematica 12.3) For example; ...
0
votes
0answers
38 views

Inconsistent appearance of abscissa and ordinate scales on DateListPlot

I have noticed that scales on my abscissa and ordinate of a typical DateListPlot appear inconsistently. Sometimes they show nicely, and sometimes, without any changes on my part, they don't. Any ...
2
votes
1answer
62 views

Unwanted gap in ListPlot3D [closed]

I tried an answer on the post here and I had an unwanted gap (see attached picture) Does anyone know how to avoid this gap?
2
votes
1answer
120 views

3D two-variable function with constraint [closed]

How can I plot 3d the function z (x,y)=x/4+ 2y/2.3 with constraint (1+x/4.2)y^2= 3700
1
vote
0answers
56 views

Using MaTeX with outline to create transparency around the equation

Is there a way to combine outline around equations as described here, with the ideas proposed here to create images with transparent background? Currently, since outline requires a color, I end up ...
0
votes
1answer
66 views

Plotting equation with some unknown parameters

I am new to the Mathematica and I have a question about the plotting. I am trying to plot the transcendental equation $$\tan{(z)}=\sqrt{\frac{1}{2m_0}\left (\frac{z_0}{z}\right)^2-1} $$ where the ...
3
votes
1answer
46 views

Plotting translated vector fields from user-defined functions

I have two time- and space-dependent vector fields, one which is: $\mathbf A(x,y,t) = -y \, t \, \hat{\mathbf x} + x \, t \, \hat{\mathbf y}, \tag 1$ and another $\mathbf B(x,y,t)$ which is $\mathbf A$...
0
votes
0answers
33 views

How-to impose custom axes on ListPlot that is aligned to ArrayPlot

Now, I have spent the best portion of my day trying to figure this out to no success. Note, this is a continuation to one of my previous questions. However, this problem merits its own post. Now, here ...

1
2 3 4 5
265