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

learn more… | top users | synonyms (8)

3
votes
1answer
32 views

RegionPlot with different boundaries

I would like to plot different regions, some of them with different boundaries. For instance if I use ...
8
votes
3answers
135 views

How to group and join points

It seems there are many similar questions on Mathematica.SE, but none addresses (to the best of google) exactly my problem. I have the following data: ...
2
votes
2answers
51 views
12
votes
5answers
286 views

How to extract a contour line (or a region) from a ContourPlot?

Given a ContourPlot with a set of contours, say, this: is it possible to get the contours separating domains with the different colors in the form of lists? ...
5
votes
1answer
208 views

Unexpected result when using PlotRange in Mathematica 10

Show[ Plot[x, {x, 0, 1}, PlotRange -> All], Frame -> True, PlotRange -> {{0, 1}, {0, 1}}, AspectRatio -> 1] gives the expected result in ...
3
votes
0answers
197 views

Position tick labels on box sides of the axis

I use ticks label both for scale (0.8, .9, 1.0, ... ) and for marking specific values of interest (with custom text). I'd like the numbers to be above the axis and the text below it. I was able to ...
0
votes
1answer
117 views

Empty plot when calling the SphericalHarmonicY function in Plot or SphericalPlot3D [duplicate]

I'm getting an empty plot for the following code: SphericalPlot3D[ 2*Pi*Sin[theta]*SphericalHarmonicY[100, 50, theta, phi], {theta, 0, 2*Pi}, {phi, 0 , Pi}] ...
1
vote
1answer
49 views

Changing a piecewise function into a periodic function

I have: f[x_] := Piecewise[{{x, 0 <= x < 1}, {2 - x, 1 <= x < 3}, {x - 4, 3 <= x < 4}}] Plot[f[x], {x, 0, 4}] Which produces this plot: ...
4
votes
1answer
147 views

Graphics3D/Plot3D rendering issue

I have an issue in Mathematica with the rendering of 3D graphics. Two sides (right and bottom) of some sort of bounding box are present, and, in the instance of ...
2
votes
1answer
87 views

Automatic text-wrapping in labels in `TimelinePlot`

Part-related to this question and part-related to this one, I would like to make use of the new features of TimelinePlot in 10.3, but would like to incorporate some ...
3
votes
3answers
189 views

Handling options in my function

It seems this should be easy, by I just can not figure out how. I want to have a function that I can pass a list of options to, or use a default. I have found two very similar questions, but I can't ...
1
vote
1answer
45 views

Timing and ListPlot

I am currently trying to examine the Timing function as it relates to generating primes and factorize large integers. What I want to do is to visualize how time ...
0
votes
2answers
65 views

How to plot in the complex plane? [duplicate]

I am new to Mathematica and I would like to ask how to plot in the complex plane in general. Also, as an example, how do you plot $e^{i\theta}$ in Mathematica? In physics the function $e^{i\theta}$ is ...
17
votes
4answers
556 views

LogPlot axes labels destroyed when working in high precision

Bug introduced in 7.0 or earlier and persisting through 10.3.1 or later (I'm using Mathematica 8.) I have a Taylor series: ...
1
vote
1answer
42 views
3
votes
1answer
157 views

How do I plot a space curve as a ribbon?

I know Mathematica has a built in Tube function, but I want to be able to change the parameters of a ribbon and visualize that. Is this possible? How do I do this? ...
3
votes
1answer
125 views

Plotting function with unique symbols [on hold]

I would like to plot a function which involves multiple symbols created using Unique. Consider the following simple example. ...
-1
votes
0answers
46 views

Creating Vector Field Plots for an Implicit Equation [on hold]

I am having difficulty creating a vector field plot for the implicit equation Log[(2x-1)/(x-1)] == t (* Did your best to use Mathematica syntax *) Where ...
0
votes
0answers
43 views

Unable to plot higher order polynomial equation using NSolve and contourplot

I have a polynomial equation in 'a,b' and I am trying to plot a curve between 'a' and 'b'. Both NSolve and ContourPlot works well upto 'a=15' , but after that the plot has scattered points. Is this ...
0
votes
0answers
27 views

how to plot many curves for different values of a certain parameter [on hold]

how to plot many curves for different values of a certain parameter of a function? how to plot many curves for different values of a certain parameter of a function? i.e. i need to get one figure ...
6
votes
2answers
843 views

How to create a histogram of annual events, such as cherry blossom time

I have calculated blooming and ripening times for a specific variety of plant, based on actual temperature data from over 40 years. I would like to create two histograms on a single axis; one for ...
0
votes
0answers
75 views

Phase space of a system of differential equation

I have a system of three Coupled nonlinear equation of a physical system and i would like to plot the phase space. My system is a chaotic system dependant of three variable dependant of time (l1, ...
10
votes
1answer
117 views

Plot of $sin(x^x)$ is missing from $x=143$

When plotting the graph of $sin(x^x)$ I noticed that there is no plot from about $x=143$. I don't suppose there is a purely mathematical explanation for this? So, why is there no graph in ...
42
votes
7answers
21k views

Labeling individual curves in Mathematica

I need to create a plot for export and inclusion in a report. Is there a better way to label curves than PlotLegends? From what I've read and my personal ...
1
vote
1answer
104 views

Out of range red glow on inter-dependant sliders in manipulate

In manipulate, I need to define two sliders : one basic slider, and a second one for which the end value depends on the current value selected on the first slider. How can I achieve this in ...
2
votes
2answers
52 views

Manually assigning Axes label position in Plot3D

How can I adjust the position of axes labels with respect to the axes they are bound? Like shifting slightly right or left. I do not what to destroy the graphics' dynamics and render it 2D. ...
9
votes
2answers
96 views

Unexpected view of the Comsol result when I postprocess it in Mma

I simulated some nonlinear PDE using Comsol. Here one can find the results u=u(x,y) in the form of an Excel table with the terms ...
2
votes
1answer
50 views

Plotting certain time points in a parametric equation? [on hold]

I'm using Mathematica 5.0 and I have the following problem. I have the following parametric equation that I plotted successfully. ...
1
vote
1answer
93 views

Color a single contour from a ListContourPlot3D using values from a list

I want to map an electrostatic potential onto a density map. How can I color a single contour from a ListContourPlot3D using the values from another list? Make ...
4
votes
2answers
74 views

A simple question about replaceall and plotting

I was trying to replicate the picture produced on the following Wikipedia page: https://en.wikipedia.org/wiki/Evolute with the astroid emerging as the envelope of normals to the ellipse. I ran into ...
0
votes
1answer
38 views

Plotting a function based on complicated integral

I have this function : f[Lambda_] := K Integrate[x Exp[- x^2-Lambda x] HypergeometricU[-Lambda,1/2,(x+ Lambda/2+2)^2],{x,0,Infinity}]; where ...
-4
votes
0answers
60 views

How can I graph this using Mathematica [closed]

How can I graph the equation $x^2+y^2\le9$ and rotate it about the x=5 axis. This should make a Torus. The problem is that when I use RevolutionPlot3D it returns a sphere. I just can't get it to ...
1
vote
0answers
34 views

Coding help on plotting two functions [closed]

I am trying to plot two functions. Trying hard, but not able to see what is wrong in the function definitions. ...
0
votes
1answer
103 views

Plotting a Double Sum

I am attempting to plot a graph of a function that is the absolute value of the double sum of an exponential function, and I keep getting errors. Here is the code: ...
6
votes
1answer
77 views

PlotMarkers shadows the settings by Style

The code below gives color-varying points with explicit Style wrappers: ...
2
votes
3answers
64 views

Difference between two Listplots [closed]

this is a simple question, and excuse me if it's already been answered; I searched around and couldn't find anything. I have two listplots, both along the same number of x data points, but with ...
0
votes
0answers
20 views

extracting information from approximation and detail figures of discrete wavelet analysis [closed]

I did different level of different mother wavelets of discrete wavelet transform of some bio-signals using MATLAB Wavelet Toolbox. I obtained detail and approximation coefficients figures but I don't ...
0
votes
0answers
31 views

How to fit the data comes from the table into a function of x so that I can plot Two functions using TWO Y aix in one figure [on hold]

I plot data results from the package GWR to find the invers function of Laplace transformed fn. How can I fit this data into a function so that I can plot it in using TWO Y- ...
1
vote
1answer
327 views

How to make a contour shading like this

How can I adjust the contour shading to appear like below?
-2
votes
1answer
72 views

monochromatic and mesh style of 3d plotting

how to adjust the mesh and monochromatic plot to be same as this
0
votes
1answer
59 views

ParametricPlot3D crashes Kernel when called repeatedly in loop

I have a parametric function surf[u,v]. It can be plotted successfully like this: ...
2
votes
2answers
68 views

Label multiple Data in Set of plots

in this simplified example I defined several data and plotted them at once to reduce typing work. Unfortunately I cannot find the syntax or option to label/ name each data array, which all belong to ...
17
votes
1answer
369 views

Why Plot3D shows differently with almost the same data

I really can't understand this. I wrote two functions, one with Compile called funcom, one with librarylink to link a fortran ...
0
votes
0answers
58 views
-2
votes
1answer
62 views

Manipulate aborts the computation of NDSolve with the Piecewise function after curtain time [closed]

I'm facing the problem with performance: Manipulate is working fine till end time =60 sec, after that it aborts. There is NDSolve inside Manipulate with Piecewise function, and the plot of the ...
0
votes
1answer
47 views

Plotting Multiple Curves? Options Issue [closed]

I am trying to plot two curves on the same graph, but I receive the error: Options expected (instead of {x,-8,8}) beyond position 2 in Plot[(2 [Pi])/x,2 Cos[1/2] ...