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
5
votes
2answers
158 views

How-to position ContourLabel outside the Frame and Overlay ArrayPlot with ListContourPlot

This is a follow-up to the question I have left earlier today. Now, thanks to @kglr I made some progress on my mini project. This said, there are still a few things that I want to do with it, and I ...
0
votes
1answer
82 views

Combine different kinds of plots [duplicate]

how can i combine thats plots: ...
0
votes
1answer
30 views

Parametric field Plot

i want to plot this field: G(x,y,z) = (0,0,-b^3(x^2+y^2)cos(b^2(x^2+y^2))) with the parameter b>0. Is it possible to do that? if yes,how can i do that?
3
votes
1answer
83 views

Coding the Mandelbrot Set for Beginners

I'm new to Mathematica and will need some help in coding the Mandelbrot set. I don't want to use MandelbrotSetPlot since I want to understand the interior ...
4
votes
1answer
91 views

How-to control color range assignment in ListContourPlot

I haven't been using Mathematica for some time. So, I got a bit stuck, and I would appreciate some help :). I would like to... Assign specific colors to the grid cells Generate a legend, based on the ...
1
vote
1answer
28 views

How to define the colorbar of my plot manually

Let's say I have an arbitrary plot, for example a plot of a finite points that I colored them by my own taste independent of any formula like $f(x,y)$ or density etc. Or I have several plots and then ...
4
votes
1answer
56 views

ContourPlot3D with strange artifact

The following: ContourPlot3D[Sqrt[1 - x^2 - y^2] - z == 0, {x, -1, 1}, {y, -1, 1}, {z, 0, 1}] produces an ugly wall around the half sphere. Is there some kind of ...
3
votes
1answer
45 views

Plotting Intensity Distribution of Laguerre Gaussian Function

I want to plot intensity of Laguerre Gaussian wave, My code is running accurately with changing p(0,1,2...) and l=0 but when i ...
1
vote
1answer
81 views

Having trouble plotting $y=\ln\left(T^{3/2}\right)$ and $y=\dfrac{1}{k_B T}$ on the same graph [closed]

Originally, I simply wanted a way to plot $\ln(T^{3/2})$ versus $\dfrac{1}{k_B T}$ But all that appeared was this: ...
1
vote
1answer
73 views

Transparent Background in an image

I'm doing some solar system animations with Mathematica. I'm wondering if it's possible to somehow change the background of the result of a plot function so that whenever I paste it in a movie editor, ...
0
votes
0answers
40 views
3
votes
1answer
118 views

Circular shape of a 3D plots in mathematica

I use several 3D tracing themes in Mathematica but I can't do it like that, I need your help Thank you
6
votes
3answers
207 views

Rotate 3D graphics without changing size of the object or image size

When I rotate objects they change size. Is there a way to fix it? Below are 2 different attempts with the same result. I even tried to put transparent sphere around it, but the problem remained. The ...
2
votes
1answer
81 views

how to plot a 3D graph of a difficult trascendental equation?

i need to create this plot from an article, using this equation where and here rho2/rho0 is kept = 2, c2= 0.7c0, va= 0.4c0 and c1 vary such that this equation is satisfied i am very confused ...
0
votes
1answer
29 views

find the planar curve that passes two given points, whose tangent directions at these two points are also given

This is related to drawing the links and joints of a robot manipulator. I'd like to find a way to generate a link bwtween two given bars (joints), and the said link has to be normal to the two bars ...
0
votes
1answer
79 views

How to Solve this specific inequality

I want to solve this inequality for l. I have tried to use Reduce and Solve and its not worked out. How can I solve this? ...
3
votes
5answers
105 views

Line is covered by PlotMarkers in ListLinePlot

Suppose I plot the data and fitting line with black point and red line ...
0
votes
0answers
28 views

Graphing with a special condition on the constant

My Attempt So Far Putting in Particular Values of our Parameters ...
0
votes
1answer
47 views

Plot function approximated by Newton interpolation not being displayed

I am totally new to Mathematica and I was trying to compile this algorithm that is in our student's manual. I tried different attempts also, but without any luck: ...
0
votes
0answers
41 views

Plotting ellipsoid with coordinate axis

I would like to visualize the difference in coordinate shift for the ellipsoid using Mathematica. The above is a screenshot from wikipedia. What I need is to visualise the difference between ...
3
votes
2answers
115 views

Two different solutions for the same ContourPlot while using AccuracyGoal and WorkingPrecission

I was making a contour plot, of some differential equation however I get two different solutions If I use "AccuracyGoal" and "Working Precision". The question will appear long but ...
1
vote
1answer
46 views

How to calculate the variation of curvature along the horizontal axis

I have a data set with $(x,y)$ coordinates. I do the following to import the data ...
0
votes
0answers
32 views

ListContourPlot returns blank square

I have a set of values of a function of X and Y defined as sample={{x1, y1, f(x1,y1)},{x2, y2, f(x2,y2)}{x3, y3, f(x3,y3)}...} I want to do a list contour plot of ...
0
votes
0answers
31 views

Plotting with respect to negative variable

I have $\Delta^2 = -t$ defined in Mathematica. If I have a function that contains $\Delta^2$ dependence, how I can plot with respect to $-t$? An example would be $\exp \left(-\frac{\Delta^2 (1-x)^2}...
2
votes
1answer
48 views

How to grab two points from linear equations and from a matrix m.x == b for the purpose of creating lines or planes from each row.?

Don't get me wrong I can easily do it on paper and I could probably write convoluted code that will get the job done but I feel like there has to be an easy Mathematica way to do this. A few users on ...
1
vote
1answer
48 views

How to use StreamPlot to plot the unique solution in this directional field?

How can I plot the unique solution in this directional field using StreamPlot? ...
0
votes
1answer
32 views

Blank plot is returned when trying to use Manipulate[Plot3D…] on the output function of NDSolve

I am currently trying to solve a transient cylindrical diffusion problem with space variable (r,z). Using NDSolve, I get a certain Interpolation function but I can't plot it no matter what I try. ...
0
votes
1answer
56 views

How to put legend inside a ListLogLinearPlot

I have a plot and I have customized its legend; I want to place the legend top horizontal. How to do that? I have tried placing it as follows, but it is not working. ...
4
votes
1answer
167 views

Having difficulty plotting linear system of equations

I have a function eqsfromMatrix[..] that generates linear equations from a matrix which I would like to plot but there seems to be no direct way to plot them. I ...
4
votes
1answer
110 views

Error band in the legend

I want to plot multiple data sets having error bands with legends such that the style of error band is also reflected in the corresponding legend. So for e.g. let's say I have the following two data ...
1
vote
1answer
40 views

How to define a cube unit based on Graphics3D [duplicate]

I would like to ask,how can we draw 50 spheres of radius 0.1 (randomly) in the unit cube. This is my first try, ...
1
vote
0answers
93 views

How can I plot renormalization grop trajectories (flows) with Mathematica?

There are equations named recursion relations. We supposed to draw a diagram that shows renormalization group theory trajectories with recursion relations. Fox exp: Recursion Relation: $$ (x')^4 = ...
3
votes
2answers
101 views

Two Listdensityplot figures : Use one of them as a mask for the other one

I successfully plot two listdensityplot of thermical values distribution on an object. I want to use ne of them as a mask (to remove the backrgound) on the other one. My question is : How to do this ?...
2
votes
1answer
67 views

Making height of 3D Plot more clear from top view

I'm plotting a 3d function and looking at it from above. here is the function definition: ...
-4
votes
1answer
39 views

How to plot intensity distribution of Laguerree Gaussian Function LG(pl)? [closed]

As LG(0,1)=-(1√2)[HG(0,2)+HG(2,0)] Laguerree Gaussian of p=0 & l=1 gives us Hermite Gaussian with modes (0,2) & (2,0) i want to draw the intensity distribution of the LG(0,1) how to calculate ...
3
votes
0answers
89 views

Using ASCII plots in Terminal in version 12.1

This question was asked before for version 12 but unfortunately the provided patch doesn't work anymore for version 12.1. Using Terminal` (ASCII plots) in Wolfram 12 I was trying to use the Terminal` ...
1
vote
1answer
45 views

Filling complex areas of a ListPlot

I have a ListPlot with vertical and horizontal lines. I would like to color the resulting rectangles by something like "Fill with Green if less than both line 1 & line 3". However, I can't figure ...
1
vote
1answer
42 views

How to change the size and color of points in a 2D plot?

I have been working on this for longer than I want to admit to, but I'm finding no answers, and have no idea how this can be done. This is MMA version 12.1 I'm trying to change the data size and ...
2
votes
1answer
67 views

Soccer Ball Dual

To mirror the standard truncated icosahedron, a dodecahedron of side $AB=1$ is truncated to have 20 triangles and 12 decagons roughly as in the hand sketch: Condition of same length of regular ...
3
votes
3answers
91 views

Fixed number of gridlines?

I am interested in making multiple plots with the same amount of "GridLines" and "FrameTicks", particularly for plot-range -> all. Is there a straightforward way to do this and set it as a default ...
1
vote
0answers
51 views

Custom Scaling Function for ListDensityPlot not working

I'm attempting to plot a data set with values that span multiple orders of magnitude, both positive and negative. I would like to use a logarithmic scaling to accurately capture this order of ...
2
votes
2answers
52 views

Linear then Log ListDensityPlot

I'm looking to make an x axis which looks like this: i.e. it is linear for values below $0$ but then goes as a $log$ ...
1
vote
0answers
43 views

Soccer ball truncations [duplicate]

A Unit edge Mathematica icosahedron is truncated with hexagon central arc length $ h= 0.3667612 $ that I calculated using spherical trig. How can we take two ...
1
vote
1answer
37 views

Force fixed colormap range for DensityPlot with custom Colormap

I have an issue with the automatic scaling of colors in DensityPlots when i use my imported Jet colormap from Matlab (followed this answer). I want to keep red (highest value in colormap) always to ...
1
vote
0answers
27 views

Plotting a quantity-based function doesn't work

Creating the function: ...
3
votes
1answer
110 views

Plot an energy level diagram

I have the following list: ...
2
votes
1answer
90 views

Plotting Cartesian mesh on Sphere with SphericalPlot3D

I really want to know how to plot the Cartesian grid lines on a 2D plane onto a sphere in the context of stereographic projection. I found this image showing what I want to plot. Can anyone help me to ...
0
votes
1answer
63 views

How plot this list in ytg[y,t] axes

I have a list of complex numbers in the form of g[y,t] such that {y,0,1, .1},{t, 0,1, .1}. How can I plot this list in ytg[y,t] axes ...
0
votes
1answer
51 views

Density Plot on a Parametric Plot 3D

I am trying to insert a density plot on a parametric plot in 3D, but I am not successful. I post the part of the code on which I am working on. ...
5
votes
2answers
102 views

Finding intersection points of the Line command

Suppose I have two lists to which I apply the Line command for example A = {{-4,0},{4,0}} B = {{0,4},{0,-4}} and I take ...

1
3 4
5
6 7
235