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

plotting parabolas

I had to redo the problem because there was a mistake. With the given function from a previous problem, I was solving link, I found that the parabola created a trajectory on the graph, ie another ...
0
votes
0answers
8 views

How to control the decimals in MaTeX

I'm using MaTeX to display the ticks of a stream plot. However, I would like to standardize the number of decimals displayed in this plot, that is, I would like to show just one decimal. My code is ...
0
votes
0answers
14 views

Manipulate a plot of coupled differential equations

Good afternoon, I am attempting to construct a graph showing the trajectory of two variables over time, based on a coupled system of differential equations and some arbitrary initial conditions which ...
1
vote
2answers
23 views

Plot of a function defined on a differentiabl manifold

I'm following a course of Math and I would like to have a Plot of a 3D function defined over a CountorPlot. I used the command of 'Plot3D' to define the domain of a function but the region where the ...
0
votes
1answer
22 views

Using and Naming different sets of data in a manipulated chart/plot

I am trying to visualize advertisement data from amazon which is comprised of a dozen or so campaigns, each of which has three subgroups and each subgroup has its own performance data (metrics). ...
4
votes
4answers
385 views
2
votes
1answer
35 views

Matching prolog and plotmarkers sizes

Im trying to add some points to a ListPlot using Prolog. However, the point generated by Prolog is bigger than the Plotmarkers. How can I make them exactly the same size? ...
11
votes
3answers
1k views

How can I reproduce this mandala with Mathematica?

I found this image on the Internet and it is very beautiful. How can I reproduce it? The ideal would be to be able to control the colors of the outside as well as the center.
1
vote
1answer
31 views

Using NSolve and ContourPlot

Problem 6 a: Solve the equations x^2/9+y^2 /4=1, x^2-y^2=1 for {x,y}. b: Use NSolve to find approximate solutions to this set of equations. c: Now use 2-dimensional zooming and ContourPlot to find an ...
0
votes
1answer
42 views

Simultaneous solving equations

It is a theorem in geometry that any three non-collinear points determine a circle. Given the three points (x1,y1),(x2,y2),(x3,y3) find a,b,and R for the circle (x-a)^2 +(y - b)^2 =R that passes ...
2
votes
1answer
36 views

Strange limitation of Z value of contour plot

I'm generating a figure using contourplot for my paper. The code is like this: ...
0
votes
1answer
19 views

How to store outputs as coordinates and use ListPlot to plot them?

so I have a program that outputs a desired value for incrementing values of alpha. Right now, my program prints a list of these for 40 values of alpha in the form {alpha, newValue}. ...
3
votes
3answers
96 views

Equipotential surfaces using ParametricPlot

So I'm trying to plot lines on which the following function is a constant $$ \frac{\left(-\Sigma (r,0.99,\theta )+2 r^2-0.99^2 r \sin ^2(\theta )\right)^2}{\Delta (r,1,0.99) \Sigma (r,0.99,\theta )^3}+...
3
votes
1answer
87 views

Solving a differential equation with a logarithm

I want to solve the equation Eqn = Ns - (Sh*theta[x]*Log[1 + tr*theta[x]] - 1/(theta[x] + (tr - 1)^(-1))*D[theta[x], {x, 2}]) == 0; and plot their solution ...
2
votes
2answers
65 views

Given s family of quadratics, plot them and show the minima of each curve

family function x^2 - 2*(m - 2)*x + m - 2 a) Create a Manipulate to explore the behaviour of the functions of this family for m ∈ [-10,10]. Mark the minimum value ...
0
votes
1answer
34 views

Plot is cutting off axes labels

I am trying to create a plot with the axes labelled and for some reason the x axis label is getting cutoff. I've tried resizing the plot and it does not fix it. I am using the following code: The ...
3
votes
1answer
76 views

Plotting a corrugated ribbon on a 3D Plot

I was assigned to write the following code: ...
2
votes
0answers
31 views

Extract original vertex from VoronoiMesh

Consider a set of random coordinates. pts = SortBy[RandomReal[{-1, 1}, {25, 2}], {First, Last}]; and find it's VoronoiMesh, <...
6
votes
2answers
158 views

Converting a 2d surface into a 3d volume

I have a 2d surface shown in the image below using ListPlot3D[]: It is generated with one line of code: ...
4
votes
1answer
43 views

'PlotLegend' does not display the correct symbol color

I am plotting some data points with a legend but PlotLegend does not yield the same color as the points have. Where is the mistake? Here is the result that I obtain:...
10
votes
3answers
515 views

Drawing a circle subdivided into arcs of different colors

I would like to draw a circle and have different parts in different colors. Which part has which color should be changeable with sliders. I've managed to do two colors, but would like to have three or ...
0
votes
0answers
42 views

Plotting Gaussian using a formula [closed]

I am able to plot a Gaussian distribution of mean 10 and Standard deviation using below code. ...
2
votes
1answer
34 views

Plotting symbolic functions

I want to plot the following Gaussian function Is there a way that I can do this symbolically without giving values to the constants.
0
votes
0answers
27 views

Understanding how to forward results, computations & functions to inbuilt functions [closed]

I may be missing something obvious about the Mathematica language, but I am having trouble understanding something; so much so that I am not sure if the title of the question is appropriate (not ...
2
votes
1answer
45 views

Why does my plot look different depending on PlotRange values I choose [closed]

I plotted the following function twice using different PlotRange values: ...
0
votes
2answers
52 views

Where do the circles x^2+y^2=1 and (x - 6/5)^2+(y-1/2)^2=2 intersect? [closed]

I need to plot these two equations but I can't figure what commands to use.
3
votes
1answer
75 views

External rays of Julia and Mandelbrot sets

I am familiar with the JuliaSetPlot function of Mathematica, but I was wondering if it is possible to get Mathematica to plot external rays of some specified ...
0
votes
1answer
48 views

Make two plots on top of each other

I would like to make a single plot which contains two graphs on top of each other like the plot below (with frames, axes labels and the legend on the top right corner) I read this question and tried ...
0
votes
0answers
68 views

getting the coordinates

With the given function from a previous problem I was solving link, I want to create/collect the coordinate points of Min. value for 21 values of parameter a (from -7 to 7), and find a,b, and c such ...
0
votes
0answers
50 views

Help With Plotting ArcTan [closed]

I am doing a project, and to ensure professionalism, I need to graphically plot my results; the only issue I am rather new to Mathematica and plotting is rather troublesome for me. Below I drew out ...
0
votes
0answers
26 views

Plotting only a maximum value of domain

I made a table containing many lists of c and Tpop function value. Since the domain is duplicated in the table, I have an image as below when I plot it (y-axis = TPop, x-axis = c). I want to plot only ...
2
votes
2answers
81 views

Farey Sequence Manipulation

so I am extremely new to Mathematica and currently doing a project that involves calculating a specific function of the Farey Fractions. That is given an interval $I: (0,\alpha)$, I want to calculate ...
2
votes
1answer
71 views

Epilog isn't working

I'm trying to put an arrow to denote a point on a Plot ...
0
votes
1answer
38 views

Quick question about “shifting x axis”

Imagine I have two lists: x={x1,x2,x3,x4,...} y={y1,y2,y3,y4,...} And I want a listplot ListPlot[Transpose[{x,y}]] Would do ...
10
votes
2answers
210 views
+400

How can I plot my financial indicator below a trading chart (produced by TradingChart) with the same x-axis?

Since this question was not answered, I would like to ask again with some additional information. I have a trading chart saved as chart1 as follows. ...
0
votes
1answer
58 views

How can one get an edge/border on a sphere/point in 3D scatter plots

I want to get a point or the Sphere[] Graphics3D object to have a border or edge in a 3D scatter plot. The EdgeForm[] directives seem to apply only to polygon objects. The effect I am trying to get is ...
1
vote
0answers
25 views

how to get [ ] in the axis title?

I have two problems when I was formatting the plot. First, I added "Log [ ]" for my axis title but it shows as "log ( )" on the plot. Secondly, after I added the frame boundary my ...
3
votes
1answer
100 views

Plot ellipses in a exponential curve

I am trying to produce a single plot, where the ellipses fits neatly within the given curve function, and with each intersecting the curve at exactly 4 points. The ellipses is $x^2/a^2+y^2/b^2=1$, ...
0
votes
1answer
33 views

Log scale for ListContourPlot when the axes have different orders of magnitude

I am trying to plot a data set (download here) in Mathematica (it's 3.9 MB and I wasn't sure how to best share it) which I then want to visualize with ...
2
votes
0answers
41 views

How to prevent Y axis from rescaling every time I move the slider in manipulate [closed]

I am trying to plot the intensity distribution of Double Slit DIffraction, I have used the manipulate function to manipulate Cos[p] which is for interference in the following code, but when I move the ...
0
votes
1answer
15 views

How can I use a logarithmic ScalingFunctions with ListContourPlot and DataRange? (i.e. no x- and y- inputs given)

There appears to be a bug in plotting, using ListContourPlot with ScalingFunctions->{"Log","Log"} and ...
1
vote
2answers
71 views
2
votes
4answers
146 views

How to plot a two-variable function in 2D?

Say I have a function $y = ax^2$. I want a plot of '$y$' vs '$x$'. Here '$a$' is a parameter. I can set different values of '$a$'and get some disjoint set of plots by the following command: ...
1
vote
2answers
141 views

Plotting 3D data in (Fr, Fθ, Fz) cylindrical coordinates

I want to plot a skyrmion (like shown above) represented by a 3D vectorial arrows but showing in a 2D plane. My code is as follows: ...
1
vote
0answers
31 views

How to subtract all functions on a plot by the lowest f(x) value at each x

If I have a plot with multiple functions, like so: ...
4
votes
2answers
85 views

How to draw bin edges?

I would like to show the edges on the following produced histogram: This works as expected in terms of edges: ...
0
votes
0answers
29 views

How can I do a relief plot? [closed]

I want to do a relief plot with my data but I do not know how. I have this table: table1= {{0, -1.4, 0.441}, {0, -1.375, 0.441}, {0, -1.35, 0.441}, ......} I did Fit: tablefit[x_,y_]=Fit[table1,{1,x,x^...
2
votes
1answer
57 views

Plotting (y/b) vs. (a/b) for a function y = f(a,b)

If I have the function y = a + a b + b, how do I make a plot of y/b vs. a/b for ...
1
vote
1answer
119 views

How to plot this pdf

Let $x\sim N(\mu,\sigma^2)$ and $y=\max\{e^{x-1}-\kappa,0\}$. How to get and plot the pdf of y? In particular, there will be a probability mass at $y=0$, which is a nondifferentiable point. I tried <...
4
votes
1answer
112 views

Plot mean of data with error bar

Suppose I have the following data with co-ordinates: {{1,190},{1,200},{1,210},{1,180},{1.5,175},{1.5,200},{1.5,190},{2,100},{2,150}} How do I make a listplot of this data set, by taking the mean of ...

1
2 3 4 5
239