Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plotting]

Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.

0
votes
2answers
77 views

How put 3D axes labels at positive ends of axes?

As the output of the following code shows, by default Mathematica does not necessarily place the axes label for 3D graphics at the positive ends of the axes, for axes emanating from the origin. In ...
0
votes
1answer
38 views

Plot[] fails to show all results of Solve[]

I'm interested in the intersection points of two functions: $y=r+x$, where $r$ is the constant, and $y=ln(1+x)$. The following code plots the two intersection points for different (negative values) of ...
1
vote
1answer
87 views

Computing area below 2D function

I'm trying to find an area (in η and y plane) in which the below function is >=0 ...
1
vote
0answers
21 views

Issue with RegionFunction in DensityPlot

I don't get why RegionFunction troncates even the places where x+y<1 ! ...
1
vote
1answer
42 views

How can I know the value of parameters?

In the the attached image I plot two function for the parameter $a1, a2, a4$. I take $a2$ as particular value, $a1$ as discrete set and $a4$ continuous value. In the plot how can i recognize for which ...
2
votes
1answer
76 views

How can I Rescale a ColorFunction on a 3D plot

I'll like to know if there is a way to do this colorfunction scaling on 3D plots ...
7
votes
1answer
87 views

How can one eliminate moiré artifacts from ListDensityPlot3D?

I’m having a hard time eliminating some moiré-like artifacts from the 3D output of ListDensityPlot3D. Here is an example: ...
2
votes
1answer
176 views

Cat catch mouse , application of differentials equations [closed]

Can anyone help me with this: We have a room 4 metres deep and 4 metres wide. In the far right corner is a mousehole. The cat starts in the bottom left corner, and the mouse starts in the top left ...
2
votes
2answers
62 views

How to plot a function over a very wide range?

I am trying to plot some one-variable functions over a very large range, say for example: Plot[3 t, {t, 0, 10^800}] However I get an error saying: ...
3
votes
2answers
80 views

Plot the region covered by a map?

Suppose we consider two dimensional cartesian coordinates x,y and pick a parametrization x = r Cos[phi]; y = r Sin[phi]; I ...
2
votes
1answer
33 views

Defined equality does not show in ContourPlot

I have some function definitions that ultimately define an equality through Solve and Replace: ...
1
vote
0answers
57 views

Convolve and Plotting

I want to convolute my equation with Gaussian function.I used following code for it but it does not give the output? How do I correct it ...
0
votes
3answers
91 views

How to get a plot with more precision in the data points?

Working with other software called SolidWorks I was able to get a plot with a curve very close to my data points: I tried to get a plot as accurate as this, but using the ...
3
votes
2answers
53 views

Show additional box border in 3D plot

How to best draw an additional box boder at {x, y, 0} as indicated by the red arrow below? PlotRange is ...
0
votes
0answers
26 views

ListLinePlot Manipulate only discrete values in Slider

When you use a slider control for any kind of list plots slider should only take integer values and I can specify that with start point and end with step size. However, you can expand the slider and ...
2
votes
1answer
55 views

Mathematica implementation of meshgrid in 3D

Mathematica implementation of meshgrid in 2D is meshgrid[x_List, y_List]:={ConstantArray[x,Length[x]],Transpose@ConstantArray[y,Length[y]]}. Can any one help to ...
0
votes
0answers
46 views

RegionPlot3D not showing 2D shapes

I am trying to draw a series of regions in Mathematica (one example below), but the planes I am trying to draw with RegionPlot3D don't show anything. For example,...
1
vote
2answers
59 views

Plotting two lists

I have the following lists: ...
2
votes
2answers
156 views

How to find second,third,etc maximum peak of list

I need to find all values of peaks. I have Table with 10000 elements in it and I plot a graphic using ListPlot. Then I tried to ...
2
votes
2answers
70 views

combining two plots

I have the following two expressions: v1[z]=(39 z^2)/160 - (23 z^3)/480 and ...
1
vote
2answers
31 views

How to draw lines connecting nearby points [duplicate]

Suppose I have the following example data, data = Table[{Cos[theta], Sin[theta]}, {theta, 0, 2 Pi, Pi/8}]; which, when plotted, looks like this, ...
3
votes
1answer
50 views

Strange behavior when plotting Floor or Ceiling function

Why the following two codes plot different graphs? Plot[Floor[x], {x, -5, 5}] Plot[Floor[x] /. a -> b, {x, -5, 5}] a and b did not have any assigned value. ...
2
votes
2answers
89 views

Epilog and Prolog not ploting for small PlotRange

I have an automated process that produces plots that will be on a y-axis range of somewhere between zero and 1. I need to highlight certain bands in the plot that are a result of calculations in the ...
0
votes
0answers
43 views

Finding a line intersection

I have the following list of rational functions: ...
0
votes
1answer
39 views

Making a List For Use in an Integral

I have an equation of the form $R_{min}+t= R_{min}\, e^{R_{min}}$ where for every time $t$ there is a corresponding position $R_{min}$. How can I complete the integral $F(t)=\int_{R_{min}(t)}^{r(...
0
votes
1answer
77 views

How to plot phase portiere and the solutions of ODES

Dear All I know how to plot phase portrait for the system of nonlinear odes but I did not know whey the result of Show the parametric solutions with phase ...
0
votes
0answers
43 views

Draw a zoomed inset on a plot [duplicate]

I have the following code: ...
4
votes
2answers
257 views

How to graph multiple lines of the same color that each contain multi-colored points

I need to make a graph with multiple lines and points. Each line contains 3 points that should each be colored black, yellow, and red. The line should be a neutral gray. I managed to create a graph ...
1
vote
0answers
25 views

Exporting GraphicsRow as pdf

I am trying to save a combined Graphics as a pdf. I am using the MaTeXpackage from here to use ...
0
votes
0answers
41 views

How to plot a step function with close and open ends for each domain without plotpiecewise? [duplicate]

I want to show a continuous time Markov chain and I want to plot something like below:
0
votes
1answer
65 views

Finding the root of a Transcendental equation [closed]

I'm trying to find R in the transcendental equation. $R + u_r\,t=(\frac{a_1\,B}{\nu}\, \gamma_0^2)^{\frac{3}{4}} \sigma R \,e^{\frac{3 \sigma}{v_{sh}\,t_{acc}}(R-R^*)}$ Everything except R is a ...
1
vote
1answer
79 views

How to plot four sets of data

a = RandomReal[{-1, 1}, 100]; b = RandomReal[{10, 20}, 100]; c = RandomReal[{100, 200}, 100]; d = RandomReal[{50, 60}, 100*100*100]; I have a simple program which ...
2
votes
1answer
57 views

Label all components of BoxWhiskerChart with corresponding data

I work with BoxWhiskerCharts at the moment. They code looks like this: ...
0
votes
2answers
84 views

Listplot, Plot and e function bug

For a project I have, I have let a program calculate required interias and friction for my system are R and J in the params. That program calculated 0.5*10^-3 and 0.013~ respectively. I'm trying now ...
1
vote
1answer
31 views

How to draw a plane with ParametricPlot3D when f(x,y)==0?

I have the same issue (actually I have exactly the same prompt) as the creator of this topic: Draw two planes of Cartesian equation: y=3-x and z=2+x with Plot3D The answer I found there was really ...
0
votes
1answer
35 views

Plotting a=f(b) and b=g(a) on the (a,b) plane when neither has a closed solution

I've searched for a solution but haven't found one yet, but this is possibly an easy fix - I'm new to Mathematica. I have two functions, each with $(a,b)$ as arguments and both with no closed form ...
2
votes
1answer
35 views

How to change color of LocatorPane Dynamic point constrained to LogLogPlot line - when point is above set value?

In the following LogLogPlot, I'd like to have the Dynamic[pt] color change from Purple to <...
1
vote
1answer
41 views

Performing a FindRoot from Numerical integration

I am trying to evaluate: FindRoot[Xfnew[γ, w, Hi, mx]*92*10^23*γ^(4/(1 + w)) == 1198/10000, {Hi, hs}, MaxIterations -> 10000] for some starting value hs,...
1
vote
1answer
41 views

Counting from a list of polynomials

I have the following list of rational functions: ...
0
votes
0answers
60 views

4D Table, Slider limitation and ploting ListSliceContourPlot3D

This is kinda a follow up to a previous plot where I was trying to visualize a 4D data, T(x,y,z,t) (3D space and time of temperature). SliceContourPlot3D. I wanted to move away from evaluating the ...
2
votes
1answer
24 views

How to constrain LocatorPane Dynamic point to a LogLogPlot line?

LocatorPane constrains to Plot[curve]: ...
1
vote
1answer
36 views

Finding constraints on polynomials from their plot

Suppose I have the following list of rational functions (fraction of polynomials): ...
1
vote
1answer
33 views

Why Strange extra vertical lines appear in eps format of ParametricPlot and how to remove them?

Using the following code, we can generate the parametric plot of func1 and func2 as a function of r: ...
0
votes
2answers
85 views

How to find mean of a plot generated by Manipulate?

I have a plot that I'm manipulating: Manipulate[Plot[PDF[GammaDistribution[alpha, beta], x], {x, 0, 5}], {alpha, 1, 5}, {beta, 1, 5}] I want to manipulate it ...
3
votes
2answers
173 views

Using image data to create a 3D Histogram

I have a black and white .tiff file of a beam spot: I am trying to characterize the source in a Monte Carlo program, to do this I want to convert the image into a 3D Histogram with controllable bin ...
3
votes
2answers
97 views

Labelling on ParametricPlot

Is it possible to add to the Mesh points in a ParametricPlot the x-values in sort of a ...
-2
votes
1answer
66 views

How can I plot a surface in cylindrical coordinates? [closed]

The surface I want to plot is $z^2 + r^2 = 25\, \theta$. Please tell me how to do it in Mathematica.
3
votes
1answer
35 views

How to show plot or graphics on Form or PictureBox in NETLink?

How to show the plot or graphics on the image property of a form or picturebox with NETLink? ...
-1
votes
1answer
104 views

Solving ODE with RK method and plotting

I am trying to solve the following ode $i\dot{\phi_n}(t)=-\phi_{n+1}(t)-\phi_{n-1}(t)+\frac{g~ \phi_n(t)}{1+|\phi_n(t)|^2}$ with I.C. $\phi(0)=-2\cos(2.5)$ and $g=1$. However, I am unable to ...
2
votes
1answer
42 views

Why is PlotRange->All and Automatic in DensityPlot so different?

Consider the following code: ...