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

learn more… | top users | synonyms (6)

0
votes
2answers
443 views

How to label a GraphicsGrid? [duplicate]

I am constructing a GraphicsGrid from a set of plots. Is there an easy way to add an overall label for the whole grid?
1
vote
1answer
106 views

Solve for values which produce negative real Eigenvalues?

Given an n x n matrix "A", with one or more unknown parameters, I'd like to show a plot of which values produce stability (negative Eigenvalues). For example, say you have a simple mass-spring-damper ...
1
vote
1answer
108 views

Changing the width of BarLegend with Contour argument

Bug exists in 10.0.2 Is it possible to change the aspect ratio of the BarLegend in Mathematica? The option LegendMarkerSize, ...
0
votes
1answer
124 views

Equation of line from loglog plot

Given some data that looks linear on a ListLogLogPlot, how can I find the correct equation (and particularly, the correct slope of the line)? I have a sample code here ...
4
votes
2answers
208 views

Show cannot combine two graphics

First we load the data file data = ReadList["data_smp.out", Number, RecordLists -> True]; I know that I should provide some sample data but in this case the ...
2
votes
1answer
123 views

How to save and manipulate an already plotted graphic

I have a figure which took some hours to create in Mathematica. I assigned it to a variable myplot, i.e., myplot = Plot[..]. Now ...
5
votes
1answer
408 views
2
votes
1answer
67 views

Plotting Multiple Solve Functions

My goal is to plot the functions returned from Solve but assigning each solution to a different function. Here is an example where I do it by hand ...
6
votes
3answers
322 views

How can i construct a 3D surface pass through a curve defined by formula and some other controllable points?

For example, If a have a curve defined by x^2+y^2=1 and z=0, and some isolated points having z coordinates, Can I construct a 3D surface passed through? It's better if I can change the surface shape ...
0
votes
0answers
29 views

Plot an intersection of surfaces [duplicate]

I need to plot a curve in 3D that is an intersection of two surfaces, for example intersect the cylinder $x^2+y^2=1$ with a plane $z=x+y+1$. Here is a related question Plotting the intersection of ...
1
vote
2answers
269 views

How can I plot a 3-variables function to identify the neutral surface and a region

I wanted to plot a 3-D solid region, in which my function f(x,y,z)= x (1/(1 + 0.06))^3 + y (1/(1 + 0.06))^2 + (2 z^2)/15 (Sin[10 Degree])^2 -z/3 Cos[10 Degree] ...
1
vote
1answer
109 views

NDSolve not creating plots [closed]

This is probably stupid, but I wasn't able to find any way to get equations created from NDSolve to be plotted. ...
0
votes
0answers
82 views

Unequal behaviour of FindRoot to two similar functions

Unfortunately, I have some difficulties to plot a function. Here is my code: ...
0
votes
3answers
144 views

Simple pattern/texture on chart elements [duplicate]

If I print the following BarChart in black and white, then it is very difficult to tell which bar is "a" and which is "b". ...
3
votes
1answer
191 views

How could I upload a XLS file to Cloud and then plot it?

Bug introduced in 10.0 and persisting through 10.0 or later I want to upload a file to the Wolfram Cloud and plot the list: So I use the following code to check its head at the beginning: ...
3
votes
2answers
173 views

Grid lines extending too far

The grid lines in the following plot extend beyond the data and, in particular, into the numbers along the axis. ...
2
votes
2answers
270 views

Using RegionPlot3D to make a cone under restrictions

I have to plot a cone that satisfies this statement: Use the RegionPlot3D command to draw a picture of a cone with its point at the origin. The other end of the cone is a circle with radius 5 ...
15
votes
2answers
858 views

How to wrap a plot around a circle?

Consider the code a = Table[BesselJ[i, x], {i, 0, 3}] Plot[a, {x, 0, 20}, Axes -> False] producing I'd like to transform the plot into a circle. In other ...
10
votes
3answers
348 views

Functional defined Ticks of LogLinearPlot does not work

Bug introduced in 10.0.0 and persisting through 10.1 or later version 10 $Version "10.0 for Microsoft Windows (64-bit) (June 29, 2014)" Consider three ...
0
votes
0answers
178 views

Empty Graph for Absolute Function

I wanted to plot the following equation: ...
2
votes
2answers
135 views

Changing the Ticks in LogLinearPlot for representation pH values

I need to change the ticks in the xaxis for representation pH values, but the ticks are not dispersed along the range of xaxis. Another question: why the vertical line defined with Epilog is not ...
1
vote
0answers
133 views

Can not understand the code to plot Fourier Series approximation of the line

I'm reading the CDF file from Making Formulas… for Everything in the WolframAlpha blog. I am confused by what's happening with In[9] and In[10]. Can anyone tell me what these two functions mean, or ...
-5
votes
1answer
66 views

Trying to get plots to work AGAIN

OK, I have asked stuff here before. I am probably driving people crazy but this is making me angry and frustrated. And yes, I bet this is some simple syntax thing but I can't figure it out and I am at ...
0
votes
1answer
108 views

Why is `B /. h -> #2 &` not a pure function?

I am trying to plot the energy surface of the mean field Ising model, but I am running into a problem with setting the MeshFunctions for the plot. ...
1
vote
0answers
157 views

ColorFunction - custom colors and scaling

I am trying to specify my own colors and scaling for the ColorFunction in ListDensityPlot. I have several lists of 2D values ...
1
vote
0answers
73 views

ErrorListPlot Not Plotting

I'm trying to use ErrorListPlot on Mathematica 6.0 (it's the copy my school gave me for a lab course). When I run this function it produces a graph, but there is ...
2
votes
2answers
176 views

Include more padding between tick marks and plot [duplicate]

How can I modify the code below to add some padding between my tick marks and 3D plot? It is not a problem in this example, but often my tick marks collide with my axes. ...
1
vote
1answer
212 views

Plotting Integral equation

I want to plot the following indefinite integral : $C_l^{CC}=\int k^2\mathrm{d}k\: [e^{-2k^{2}}P_{Cl}^2(k\eta)|\dot{h}(\eta)|^2]$ with k from 0 to some large value (considered to be $\infty$), ...
3
votes
1answer
158 views

Scale coloring of ContourPlot

The answer given here solved how to use the same color scale across multiple plots within the function ListContourPlot. I can't for the life of me map this solution onto the function ContourPlot that ...
0
votes
1answer
128 views

Display trailing zeros in ticks

When I specify tick marks in ArrayPlot I want to keep the number of trailing zero's that I specify. One work around is to use a label for that tick mark (i.e. Ticks->{0.8,0.9,{1.0,"1.0"},1.1,1.2}), ...
2
votes
1answer
51 views

ChartLegends only displays the last two legends in the list

I would like to add 4 legends on a simple bar chart below, but only the last 2 legends appear on the graph. ...
4
votes
1answer
133 views

RegionPlot with PlotRange vs RegionPlot with domain

Consider you want to plot R = ImplicitRegion[x > 0 && y == -((5 x)/3), {x, y}]; In ContourPlot of an ImplicitRegion defined by the intersecton of ...
1
vote
1answer
92 views

Plotting a function in {X(Y),Y} space

The code below generates some data and defines a function f[x,cb]:=NMaximize[expr,x] that upon being evaluated returns: {function value at max $x$,the function maximizing $x$}. ...
0
votes
1answer
103 views

Use separate options for different elements in Show

I have a few plots of different type. plot1 has gridlines and the rest do not. I use the option Method -> {"GridLinesInFront" -> True}] when plotting plot1. When I use Show to combine the plots the ...
0
votes
0answers
82 views

ContourPlot of an ImplicitRegion defined by the intersecton of equality and inequality

I want to plot a line defined IMPLICITLY by the intersection of an equality and an inequality, i.e. a line that you can't easily simplify (and therefore take advantage of its form). Consider for ...
5
votes
3answers
344 views

Aligning the axeslabel in a 3D list plot ($x,y,z$) (edited)?

I have the following code ...
5
votes
4answers
181 views

ArrayPlot with variable width bars

I've been using a DateList plot to visualise property information but I don't think it's the best way display my data. My data is formatted as {time (hours), property} where property is an integer ...
0
votes
1answer
101 views

How to hold axis constant with Animate

So I am trying to use Animate for my 3D Plot, to see how the function changes with respect to time. But for some reason the z axis keeps rescaling such that the function appears to be constant (but ...
4
votes
1answer
250 views

Intersection of many planes

I'm working with a family of planes, given by $2a_1 x_1 +2 a_2 x_2 - x_3 +a_1^2+a_2^2=0$. I would like to use mathematica to plot these planes for many values of a and b, say a range of $-10\leq ...
1
vote
1answer
70 views

ContourPlot of a line defined by the intersection of equalities and inequalities

On the complex plane, I want to plot the set of points defined by the solution of a system of equality and inequalites, such as $S=\{z \in \mathbb{C}| Im[z+1]=0 \cap Re[z+1]>0 \}$. However, ...
0
votes
1answer
53 views

Trouble plotting sum of polylogairthmic functions of two variables [closed]

Part of my research demands plotting functions which are composed of polylogarithms. I am unable to plot a sum of two polylogarithms. Below are lines of codes of different attempts which give a blank ...
3
votes
2answers
161 views

Hatched filling for ListLinePlot

I have the following piece of code that uses ListLinePlot to plot 3 curves which I would like to each have a hatched filling of different colors. I've tried a couple of approaches I found on this ...
1
vote
2answers
154 views

Trying to create a Gain (Bode) plot

I am trying to get this code to work and I can't seem to figure out what's going on. I realize that "simple" syntax problems are frowned on here but to us noobs they are NOT simple. (and the ...
1
vote
1answer
74 views

Obtaining probability density function from a cumulative distribution function

I have some difficult times to obtain the density function of ...
5
votes
2answers
2k views

Plotting two functions in one graph, with different value ranges [closed]

Plot[2x, {x,0,4}]; Plot[x^2, {x,4,8}]; How do I merge these two graphs into one?
1
vote
1answer
196 views

Filling between ParametricPlot and Plot

There are some similar questions: (1) (2) have been ask, but I think this is a different one. If we have a ParametricPlot and a ...
3
votes
1answer
136 views

How to build a constant Graphics object

I'm making an animation with Manipulate for a representation. The code looks like this ...
1
vote
0answers
40 views

Can Listplot output data to an image whilst leaving axes and labels as vectors? [duplicate]

Question: Can Listplot be set to render the data as an image whilst leaving axes and labels as vectors when saved as a PDF? Context: I have around 100,000 points in my listplot which when saved to a ...
2
votes
3answers
137 views

plotting two Error List Plots in one

I made two ErrorListPlots ...
0
votes
0answers
73 views

What's the wrong when I use the BodePlot?

I want to plot this Butterworth filter's TransferFunction: ...