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

learn more… | top users | synonyms (12)

4
votes
1answer
554 views

Axis label shifted in 3D plot

Does anybody know why the axis label is shifted in this plot? Probably because of the different lengths of the labels of the ticks? How can I have the axis label in the middle of the axis? The code ...
4
votes
2answers
125 views

HoldForm gives tick labels in Plot without multiplication sign

When plotting in Mathematica, HoldForm[-5*10^6] gives $-5\: 10^6$ as the label of the axis, i.e. without the multiplication sign. How can I get $-5*10^6$ as output? ...
1
vote
2answers
118 views

How to plot a finite number of vectors?

does anybody knows how can I plot one or two vectors? (I don't want to plot the vectorial field)? My target is to plot the electric field produced by a circle on a point and show how the point moves. ...
0
votes
1answer
74 views

Fail to plot this implicit function [closed]

So I need to plot an implicit function and I used the following but ended up with an empty plot: ...
1
vote
1answer
705 views

How to define the step size in plotting some graph in mathematica?

I want to plot some function . The code is given below. f = 10000000; v0 = 8.7; T = 1*(1/f); v[t] = v0*Sin[2*\[Pi]*f*t]; Plot[%, {t, 0, T} ] Now the plot will ...
0
votes
1answer
105 views

Cannot find a way to display an adjacency matrix [closed]

I have a question about face adjacency graphs. Suppose that I have an adjacency matrix How can I plot something like this?? I tried and it looks too messy. What may be the resulting graphic? Thank ...
0
votes
0answers
49 views

Plot with Epilog doesn't show up in Show [duplicate]

I start with: With[{r = 0.3, q = 10}, ans = NSolve[r u (1 - u/q) - u^2/(1 + u^2) == 0, u] ] Then: ...
4
votes
2answers
257 views

Overlapping Spheres with a Shared Blank Region

We have two similar overlapped spheres in a way that the distance between their centers is smaller than the sum of their radius (2R>a). As I show here: Also, we want to draw them in a such way that ...
0
votes
0answers
97 views

Plot zero contour of a function of two variables [duplicate]

I have F[x_,y_] = f(x,y). I would like to solve (numerically) F[x,y] == 0 to give x as ...
0
votes
1answer
60 views

Creating separate graphics

I am using the command lines: data = Import["file*.txt", "CSV"] ListLinePlot[data] to plot lists of points. As you can notice, my file name is ...
1
vote
1answer
503 views

Plotting points from file

How can I plot points (for example {{1 , 1}, {3 , 7}, {5 , 5}}) having as an input a file which contains the points coordinates ? And is there any way to draw a ...
5
votes
2answers
252 views

ParametricPlot3D of Boy's surface

I'm trying to visualize Boy's surface using Bryant's parametrization, as per the MathWorld article. However, I'm not sure I understand the parametrization, and I don't know how to implement it when ...
1
vote
1answer
371 views

Animation of a plane wave

I want to animate in 3D the plane wave $\sin(\omega t+kx+\phi)$, but following the form from the documentation, I can only make $k$ or $\omega$ vary, and I want $t$ to change. How do I do that?
1
vote
2answers
84 views

Table of ParametricPlots crashes Kernel

I can usually crash the Mathematica Kernel by using Table to generate a List of ...
0
votes
1answer
62 views

Solve system of differential equations and show the chaotic behavior of the solutions [closed]

I want to solve a system of differential equations and show the chaotic behavior of the solutions. Here x[t], y[t] and ...
3
votes
2answers
206 views

How can one plot percentage chart of continuous functions?

I know you can plot percentages using stacked histograms like this: data = RandomReal[1, {10, 5}]; BarChart[#/Plus @@ # & /@ data, ChartLayout -> "Stacked"] ...
2
votes
3answers
321 views

How do I find the area between two polar curves?

More specifically above r=6 and below r=4+4cos(θ) graph of the two curves PolarPlot[{6, 4 + 4 Cos[t]}, {t, 0, 2 Pi}]
0
votes
1answer
159 views

Plotting Minimize output for a range of constraint values

I want to plot the minimum of a function returned by Minimize over a range of constraint values. ...
5
votes
1answer
354 views

How do I produce a BarLegend with the default coloring of a ContourPlot, using Legended?

I have a series of ContourPlots that I want to compare in a GraphicsRow environment. I want to add a single legend for all three ...
6
votes
1answer
141 views

Axis label obscuring tick label

I have a plot and have applied options to customize the axis labels and ticks. ...
1
vote
1answer
59 views

How to label 3D plot with specific variables

I have a plot of a function depending on two variables called l2 and l3. However, I would like to label the axes of the plot ...
4
votes
1answer
459 views

Lyapunov exponent plot

I am trying to create a Lyapunov exponent plot as a function of $\alpha$ for two functions: $$ f(x) = (\alpha + 1)x - \alpha x^{3} $$ and a piecewise function given by following Mathematica code: <...
0
votes
1answer
216 views

Plotting results of NIntegrate with variable integration limit

I have tried to use NIntegrate with variable limits and compute the following ...
1
vote
1answer
53 views

Issue when using Ticks and Frame [closed]

...
0
votes
1answer
77 views

Animation stays blank during animation

In attempting to answer this question about animating a rolling disk, I constructed a ParametricPlot to Animate. The plot looks ...
1
vote
0answers
69 views

Why are my 3D plots getting inverted? [closed]

For some reason, all 3D plots that I make in Mathematica 9 get inverted in both the image and the axes. For example, using the simple plot: ...
0
votes
1answer
86 views

Plot curves like equation problems

I'm proving to plot and edit some wolfram alpha laminae, but when I try it, I don't have any result, for example: (from:http://blog.wolframalpha.com/data/uploads/2013/07/Curvespt31.cdf) ...
2
votes
1answer
229 views

Bifurcation diagram for Piecewise function

At the moment I am trying to create a bifurcation diagram of the discontinuous piecewise function given by following Mathematica code: ...
17
votes
3answers
484 views

Can Mathematica produce manipulatable 3D plots for deployment on the web?

I have a 3D plot I produced in Mathematica and I would like to share it with the world in a way that allows my audience to rotate it and interact with it in the broadest possible way. I would like ...
0
votes
1answer
97 views

SIGSEGV Error on Plotting Tubes

I have code to plot some "2 dimensional" points in 3D space, and connect a line between them (because ListLinePlot3D takes way to long/hangs), which works fine: ...
8
votes
2answers
134 views

How to force DistributionChart to plot empty datasets?

Is there any way to force DistributionChart to display anything where there is an empty dataset? In the below example I'd like to have ...
2
votes
2answers
76 views

How to make such a $N(0,1)$ sketch for standard normal Z?

My attempt: Plot[PDF[NormalDistribution[], x], {x, -4, 4} , AxesLabel -> {None, "Z"}]
3
votes
1answer
103 views

How can I draw a histogram from a nested list?

I have a nested list of the form list= {{1,1,1},{1,2,3},{1,1,1}} How can I plot a histogram that tells me how often each number pattern appears in my list? For ...
1
vote
2answers
94 views

How to contour shade two specified contours?

I want to have contour shading between two contours specified by two equations like below, ...
4
votes
1answer
172 views

Arrowheads in VectorStyle and StreamStyle doesn't work properly in VectorPlot and StreamPlot, respectively. A bug?

I'm using Mathematica 10.0.2 for Mac. Arrowheads given in VectorStyle for VectorPlot doesn'...
5
votes
1answer
569 views

How to plot the solution of a Partial Differential Equation?

My attempt. I need to solve numerically the Complex Ginzburg-Laudau Equation (CGLE): $$ \frac{\partial A}{\partial t}=\epsilon A-(1+i\beta)|A|^2A+(1+i\alpha)\nabla^2A $$ I'm using a uniform initial ...
0
votes
0answers
54 views

How do I plot an expression in mathematica? [duplicate]

I have the following mathematica expression: ...
0
votes
1answer
87 views

How can I combine two plots? [closed]

I am interested in plooting x only from 0 to 1, and afterwards x^2, only from 1 to ... whatever ...
0
votes
2answers
102 views

Plotting vectors using derivatives

This question stems from a previous question I asked here: Multiple Integral of equation including dx prime? An equation describing a gravitational field of a cuboid is given as: $V(X,Y,Z) = -G\rho \...
0
votes
2answers
80 views

Returning value if a point is in a region?

I'm writing a function so that if the user clicks on a certain region, a value is returned. The function takes in a condition list like the one below and a point. ...
2
votes
1answer
165 views

Plot a data of four dimension

I have a confusion recently about the visualization of data.the data you can get here.The construction of data is four dimension,like as {x,y,z,color},this is my current solution. ...
0
votes
1answer
322 views

Arbitrary hollow cylinders in mathematica 9

I'm having trouble displaying a hollow cylinder in Mathematica 9. A hollow cylinder looks like this: I tried to use RevolutionPlot3D with a step function. It ...
1
vote
1answer
557 views

In WolframAlpha, how can I make a Scatter Plot without connecting points? [closed]

How do I plot a list of points without connecting the dots in WolframAlpha? I tried, for example, ListPlot[{{1,2},{5,3},{6,5}}],...
1
vote
1answer
123 views

How can I reshape my solutions to make a 3D plot?

I need some help on the following. I need to run Solve for multiple values of a and b. To do so instead of using Do, I use ...
7
votes
1answer
231 views

Applying a texture to part of a sphere

I am trying to texture a sphere with a picture of myself. I don't want it to be stretched across the whole sphere but only to appear on the front. I used ...
-1
votes
1answer
55 views

Use two functions for x and y coordinates for a plot [closed]

I try to make a plot out of two functions. It is a cycloid I want to plot. These are my two functions: ...
0
votes
1answer
106 views

Sampling Points Between Two Functions and Plotting Sample Points? (I have partial code) [duplicate]

I want to sample random points between $Cos(x)$ and $Sin(x)$ on $0 \le x\le \frac \pi4$ I was able to do graph the function here in Mathematica. I would like to count, and then plot points between ...
1
vote
1answer
186 views

How to combine VectorPlot and Plot3D

I have a problem with VectorPlot and Plot3D, and I have a code for both but I dont know how to plot the same figure. Here is the code for Plot3D: ...
2
votes
0answers
52 views

How to convert a list of polynomials into a list of equations and plug into Contourplot? [duplicate]

Given a list q of polynomials (output of GroebnerBasis) in two variables I want to transform the list into a list of equations and plug it into CountourPlot. For ...
3
votes
1answer
213 views

Put labels sloped along axes in ListPlot3D

The three text labels in the following figure are all in horizontal direction. How to put the labels sloped along each axis to which it is attached? My Code ...