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

learn more… | top users | synonyms (10)

1
vote
1answer
27 views

control margin in plot [duplicate]

How would I control the distance between the y-axis and the left most plot border, ie. the space where description of the axis would be. I have two plots, I export them as two files, and then I place ...
4
votes
1answer
117 views

interpolating a smooth closed surface to a non-uniform data set (ListSurfacePlot3D)

I want to generate a smooth coloured surface from a discrete set of points of the form {x,y,z,F} using the ListSurfacePlot3D. My data set is quite non uniform; the ...
3
votes
1answer
74 views

RegionPlot not plotting BoundaryRegion

This question is related to RegionPlot not plotting some regions. I have the following region and want to plot the area and the boundary. In Mathematica 10.3.1 it works fine but not in 10.4. ...
5
votes
2answers
242 views

How to see phase difference of two pendulum

i want to see the simulation of two uncoupled Simple Harmonic Motion (SHM) pendulum with different Lengths and released at different initial displacement angles. in this case adding one more pendulum ...
0
votes
1answer
75 views

Conditional function plot in Manipulate

I'm looking into the stability of solution of a set of chemical rate equations. There is a set of rate constants {$k_i$} I which to manipulate, and I want to find the stable solutions where ...
9
votes
2answers
253 views

How to define variable “Rainbow” curve colors?

Firstly, I'm not asking about blending a color gradient on a curve. I would like to make the curve color uniform on all its lenght instead, but the color should change dynamically while we slide a ...
2
votes
3answers
653 views

Batman Equation

I am trying to plot out the batman symbol in mathematica. I have the basic equations but I am having some difficulty with plottingstyles and connecting the two ears with a straight line. I was ...
2
votes
1answer
68 views

Plot a function after taking the supremum with respect to one variable

Assume given a continuous function $f$ with 2 variables, say $x$ and $y$. $x$ takes values on the interval $I$ and $y$ takes values on the interval $J$. I would like to know how to plot the function ...
2
votes
1answer
100 views

ListVectorPlot Problem - > Electric Field Plot

Plot the electric field inside of a charged semi cirle. Method: First I built up the geometry with a set of point charges. Then I define points within the semi-circle. Electric field at a single ...
1
vote
1answer
83 views

plot of phase on cylinder

I have a data including the function theta as a function of x ranging from 0 to pi and the function theta ranges from -pi to pi or from 0 to 2pi: I would like to plot this function something like ...
0
votes
3answers
83 views

Graphing Multiple Initial Conditions

So I have this system of equations that I've solved by hand, but want to graph with multiple initial conditions. But I don't want to have mutiple spamming lines of code like this. ...
0
votes
0answers
44 views

Plotting error bars in both dimensions for straight line model [duplicate]

I want to fit a straight line model of the form $y_i = a+ b\ x_i$ to the list of $(x, y)$ pairs given below. How can I plot the data with error bars in both coordinates? ...
2
votes
0answers
65 views

How do I invert a function with two arguments? [on hold]

I begin with a function defined by c[u_, mH_] I won't go into details because it comes from countless lines of partial differential equations, boundary ...
3
votes
1answer
86 views

Export to PDF so that Adobe Illustrator does not convert PlotMarkers to fonts

I would like to export a Mathematica graph as PDF, then use Adobe Illustrator to manipulate it. So, I create the graph, and export it: ...
0
votes
1answer
95 views

Step plot with log-log scale

Anyone know how to impose a log scale on both the $x$ and $y$ axes after using ListStepPlot? There's nothing special about the data set I've used, just a list of ...
0
votes
0answers
19 views

How to remove extra space around polar plot in manipulate? [duplicate]

In Manipulate, PolarPlot adds lots of useless space around the exterior circular grid. Is there a way to remove that space, so the whole circular plot could take more space ? Here's a MWE showing ...
1
vote
2answers
89 views

How can I have PlotLegends showing the legend on a single line instead of two?

I am using PlotLegends in a Plot command to label each line of my plot (it has 4 different functions plotted) but the legend is split in two lines. I would like it two appear in a single line so it ...
5
votes
3answers
505 views

Ugly fraction in a label

I'm having difficulties in displaying a proper fraction in a label. Here's the 2D graphics which shows the problem : ...
0
votes
0answers
37 views

How to plot MyPiDay graph? [duplicate]

I want to make a plot like MyPiDay graph (see, http://mypiday.com). Consider the blew picture: How we can do this? please help me.
3
votes
1answer
87 views

Plot prime numbers in spiral form, in the clockwise direction

I want to plot first 100 Prime numbers in circular format (on circular orbit) in Mathematica. How can i do this?
0
votes
2answers
75 views

Ticks on axes with a frame without frameticks [duplicate]

I would like to draw a simple 2D graphics with a frame, without any FrameTicks, but still having central axes with ticks. The code is this : ...
2
votes
1answer
89 views

How to draw a density (list) polar plot?

I have the function $P_{ns}$ which gives me the amplitude of a signal. The angles $\theta_B$ and $\phi_B$ are known. (25 and 180 for example) ...
2
votes
1answer
81 views

Fitting EV charging curve

I would like to fit my set of data (x = time and y = power) as seen below, and obtain function of x describing it as close as possible, in order to manipulate it (applying different SOC, time offsets ...
0
votes
0answers
52 views

Problems with Tooltip

I an getting strange behavior with functions built using Tooltip. I create a function to display the position of data in a list ...
0
votes
2answers
53 views

Plotting plane from a matrix or data table

After weeks collecting data I've decided to pass my results through Wolfram Alpha and see what it gets. The results are amazingly useful, specially the plane generated by linear regression. It is ...
1
vote
1answer
49 views

How to deal with repeating usage of same attributes

I am producing in my notebookfile many plots with the following example code: ...
0
votes
0answers
42 views

Get wrong coordinate in plot

I am having problem with getting the coordinate of points on the plot below. The plot is OK but when I press Ctr + D and move cursor along the line, the coordinates are total wrong? Could you help ...
3
votes
1answer
82 views

How to plot the hour of the sunsets

i have this code: ...
5
votes
1answer
181 views

Smooth 3D plot with colour of scattered data

I have a set of scattered 3D points with coordinate (x,y,z) and an intensity associated with it. I would like to do a smooth surface with the intensity being represented by the colour. My points ...
3
votes
1answer
54 views

Different responses of Manipulate

Consider this code f[x_, y_, t_] := t Sin[2 Pi x] + 2 t Sin[2 Pi y] Manipulate[ Plot3D[f[x, y, t], {x, 0, 1}, {y, 0, 1}, PlotRange -> {-5, 5}], {t, 1, 2}] ...
0
votes
0answers
37 views

Names disapper when using PlotLegend [duplicate]

I am using Mathematica 8.0.1.0 and when I use PlotLegend the names disappear. Could you help me fix it? Thank you. ...
0
votes
1answer
86 views

How to prevent extrapolation in Manipulate? [duplicate]

How can I limit the time slider to the NDSolve solution range in a Manipulate box, so no extrapolation is used ? More specifically, here's a stripped down version of my Manipulate code which shows ...
0
votes
1answer
48 views

How can I write a program implementing difference equations system with parameter [closed]

How can I make a program with this dynamical difference equations system P(n + 1) = Pn - 0.1(Qn - 200) Q(n + 1) = Qn + 0.5(Pn - 50) But in instead of ...
3
votes
1answer
38 views

Getting a set of disjoint regions from the set of overlapping regions

Suppose I have two overlapping regions $R1$ and $R2$ looking like this: ...
1
vote
2answers
93 views

How to combine Plot, Manipulate and ContourPlot [closed]

I want to combine "Plot, Manipulate and ContourPlot", into one graphics display. I tried ...
0
votes
1answer
62 views

How to display All Graph In one Graph

here is my code. for alpha and beta the value is always the same.i just change the value of rho.is it possible all these set value of rho is displayed in one graph? the purpose of this is i want to ...
1
vote
1answer
65 views

Adding +2015 to each value of my x-axis [closed]

I want to change all of the values of my x-axis by +2015 The problem is, I evaluated a large expression using incremental values {i,1,85} and plotted that data. The Plot's x-axis is 1 to 85, as ...
1
vote
1answer
69 views

NFourierTransform do not show all points, even change PlotPoints and Exclusions

Needs["FourierSeries`"] I try solve the numerical Fourier transform of this function: ...
21
votes
1answer
189 views

Wrong labelling of contours with ListContourPlot

Bug introduced in 8 or earlier and persisting through 10.4.1 Consider this example: ...
0
votes
0answers
19 views

Function inside LogPlot has random offset when using custom working precision

I am seeing a strange behavior when using a custom working precision in a LogPlot or LogLogPlot. Let's take the most simple ...
0
votes
1answer
42 views

How can I plot an exponential Fourier series? [closed]

Iam triying to plot summatory of the next function: (e^(i*n*t*wo)*Sin[n*Pi/2])/(n*pi) I have no problem plotting a trigonometric fourier serie, so the only ...
0
votes
2answers
71 views

How do I change the scale on a plot so different parts of the axis are on different scales?

I have to make a simple plot using the Plot function. However on the $x$ axis I want the scale to be such that it initially shows a zoom up of $0$ to $1$, and then ...
-3
votes
1answer
177 views

How to turn off depth sorting of 3D curves for Manipulate?

Is there a way to turn off the default depth sorting of curves in a 3D output of several complicated curves ? Currently, I suspect that depth sorting has a very strong impact on performances on my ...
1
vote
1answer
66 views

How can I label the arrowhead?

I want to put a label in the three arrowheads on the top. I tryed with "VertexLabel" but I don't know how this command works. ...
0
votes
1answer
56 views

Simple ListPlot with different colors and labels [duplicate]

I want to plot a list of points where every point has a different colour. Is it also possible to label these points according to a list of sample names I have in Excel? Please help.
0
votes
1answer
42 views

Plotting results of 'Do' loop in contour graph

I want to plot the results of a 'do' loop as a contour graph: ...
4
votes
1answer
107 views

Why is ListContourPlot so slow?

The process of ListContourPlot[] or ListDensityPlot[] is extremely slow comparing to Matlab's ...
0
votes
0answers
31 views

How to avoid frames or axes from intersecting? [duplicate]

I want to have a plot, such that it is displayed like so; so that the axes or the frames don't intercept. I was able to achieve this only by covering with graphics, with epilog, like so: ...
1
vote
1answer
55 views

Labeling Points on a Plot

I have the following discrete map: \begin{equation} x_{n+1}=μ-x^4 \end{equation} for which I have used manipulate to see the way the system evolves depending on the real parameter $μ$: ...
3
votes
1answer
123 views

How can I hide points in frame?

How I can hide the points ouside of blackbox? I want make a video moving the black box. like this: https://youtu.be/o5aNBKvay-M ...