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

learn more… | top users | synonyms (8)

7
votes
4answers
145 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? ...
7
votes
1answer
37 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 ...
6
votes
2answers
803 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
27 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, ...
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 ...
2
votes
0answers
30 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 ...
1
vote
1answer
87 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
44 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
91 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
41 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
86 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
68 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
36 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
58 views

How can I graph this using Mathematica [on hold]

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

Coding help on plotting two functions [on hold]

I am trying to plot two functions. Trying hard, but not able to see what is wrong in the function definitions. ...
0
votes
1answer
101 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
75 views

PlotMarkers shadows the settings by Style

The code below gives color-varying points with explicit Style wrappers: ...
1
vote
3answers
61 views

Difference between two Listplots [on hold]

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 [on hold]

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
29 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

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

How to make a contour shading like this

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

monochromatic and mesh style of 3d plotting

how to adjust the mesh and monochromatic plot to be same as this
0
votes
1answer
55 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
66 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
364 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
54 views
-2
votes
1answer
61 views

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

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 [on hold]

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] ...
1
vote
3answers
104 views

Plot multiple functions with different but overlapping intervals

Suppose I numerically solve a differential equation by using sol = ParametricNDSolve[{y'[x] == b y[x], y[0] == 1}, y, {x, 0, 0.3}, {b}] And then I want to plot ...
1
vote
1answer
78 views

Visualize how a function varies as its parameters vary [on hold]

I'm quite new to Mathematica, so maybe i havent figured out the right help file to look or the right function. I apologize if thats the case, but I would like to be pointed in the right direction if ...
15
votes
0answers
104 views

ListContourPlot and ListContourPlot3D use better interpolation for arrays of values than for lists of tuples (i.e. {{x,y,z,f[x,y,z]}..}

From reading the documentation, it seems that ListContourPlot3D should work equally well on an array versus a list of tuples, ?ListContourPlot3D ...
2
votes
1answer
35 views

Arrowheads cover the end of the ticks

When arrowheads are added to the axes, the ends of the ticks are covered by the arrowheads, e.g., ticks for $1$ disappear in the plot below, ...
3
votes
1answer
135 views

Is there a way to find the values of x for a graph in a given area?

Sorry for my wording, I'm not sure what the proper term for this is. I want to find the sections of x for which the graph of some function, f(x), is in a given area. For an example of what I'm ...
5
votes
2answers
49 views

BarLegend with two different scales (ticks&labels)

I am looking for a way to plot e.g. a legended DensityPlot with a BarLegend, where the colorbar shows two differently scaled ...
0
votes
0answers
32 views

Forcing equal scale in RegionPlot3D [duplicate]

I want the following 3D graph using RegionPlot3D. But the following code does not give me uniform scales on different axes. ...
0
votes
1answer
64 views

How to colorize curves intersection in a manipulate function

I need to show the intersection area of two curves, using the manipulate function in Mathematica. Here's a fully working example, and a preview below it : ...
1
vote
0answers
53 views

How to plot points in 2D without restricting their apparent positions to pixel grid?

Compare the two renderings of the same point in the following code (this is just a reduced example, I know I could just zoom in the scene, it's not an option in original code): ...
1
vote
0answers
61 views

Mapping a region [on hold]

Suppose I have a RegionPlot, and I want to produce a second graphic, but with a function $f$ applied to every point. For example, I could have the region in the complex plane $\{z \in \mathbb{C} \mid ...
3
votes
1answer
100 views
10
votes
2answers
1k views

Labels and tickmarks inside Frame

Is there a way to force Plot and related functions to place the tick labels inside, rather than outside a frame? For example, consider, ...
18
votes
3answers
1k views

Is it possible to position ticklabels on the negative y axis on its right side?

Is it possible to position ticklabels on negative $y$ axis on its right side? Ticklabels on positive $y$ axis should remain as usual:
15
votes
5answers
3k views

Styling ticks in a plot

I managed to turn the ticks inside-out but the ticks go now through the numbers. In fact I would like to have it like in the picture attached (ticks pointing outside the plot and no additional ticks ...
0
votes
0answers
49 views

Exporting a plot destroys plot style [on hold]

I have a plot with $x$ and $y$ error bars, and when I export it with the Exportfunction Mathematica ignores the plot styles, so the quite small error cross does not ...
0
votes
1answer
63 views

How to plot the following function?

Say I have a function f(x,y,theta,xi) = x*y*c*theta*xi; where c is a function of theta ...
3
votes
1answer
49 views

Move framed label alongside y-axis

Maybe the answer to this question is trivial but I am stuck with my last modification for hours now. In my plot i added framed labels to add a certain distance of the labels from their axes. This ...
4
votes
2answers
785 views

Getting consistent tick lengths and positions of labels

Bug introduced in 7 or earlier and persists through 10.3.1 or later I'm trying to have identical tick mark lengths for both horizontal and vertical ticks and I wish them to look outside of the plot ...