Tagged Questions

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

learn more… | top users | synonyms (4)

0
votes
2answers
48 views

Restrict plot of object to be below a given plane in a ContourPlot3D

In a ContourPlot3D, I only want to part of the plot. Such as the part of a cylinder that lies beneath a plane. ...
2
votes
1answer
52 views

Problem with Style in a Plot

I would like to simply plot a density function $f_1$ and I would like to put a legend but I cannot do it as I wish. The problem is simple but I spent alot of time and couldnt solve it. I will be happy ...
1
vote
1answer
44 views

Automatically to add some points for a plot

Say I want to plot this Plot[x,Sin[x],{x,0,4 Pi}] And I want it to show 4 nicely spaced points, on the line. Is there an automatic way to do this? I was reading ...
1
vote
2answers
42 views

How to fix the order in which text appears in an axis label (V7) [duplicate]

One of the AxesLabel is "$:\text{log}|\Phi8b(u)|\color{Red}{\text{Red}}$". Question: How to make it like: "$\color{Red}{\text{Red}}:\text{log}|\Phi8b(u)|$"?. My Mathematica commads: ...
7
votes
1answer
228 views

How do I generate cross sections of a 3D graphic?

I would like to approximate the volume of a bottle by summing up the volume of the individual disks. I have obtained code references from a demonstration. But how do I generate the cross sections? The ...
5
votes
2answers
166 views

Plotting two recursive functions

I'm trying to plot two recursive functions (p and θ) on a map. So far I have: ...
2
votes
1answer
142 views

Plotting on the Raspberry Pi

I just now powered on my new Raspberry Pi for the first time and tried the supplied Mathematica (Wolfram Language). One thing I tried was Plot[x, {x, 0, 1}] ...
3
votes
1answer
69 views

Draw function with different colors associated to a parameter

I want to generate a plot similar to this one, which allows for different colors when given different parameters : (This is the Moreau-Yosida regularization of the absolute value) the Moreau-Yosida ...
18
votes
4answers
591 views

Drawing the schematic diagram of algorithm

The B-Spline function used the alogrithm as shown below: I would like to draw it in Mathematica (Although this is my first time to use TreePlot) ...
0
votes
0answers
43 views

Plot is not accurate [duplicate]

I defined a matrix and use it to transform a square defined by four points. (In[85]) It seems the transformation keeps the length of the square. (In[91]) Now I plot the original square, the axis of ...
0
votes
1answer
60 views

ParametricPlot3D/2D won't work and leaves a blank space

I've been trying to evaluate this line ...
2
votes
1answer
76 views

DateListPlot with multiple data sets and incongruous timelines?

I am using Mathematica to analyze some sales data for my company. (A copy of the available data is here.) We are trying to analyze the sales trends for each month by item. DateListPlot works well ...
1
vote
0answers
26 views

Visualise sets giving some relations on those sets

I'm not very experienced with wolfram, but I'm searching for a function that can basicly do the following. Giving some sets $A,B,C$ and some relations for example $B \subset A$,$C\subset B$. I would ...
4
votes
3answers
106 views

Changing the x-axis for ListLinePlot with more Lists

I'm fighting with a seemingly very simple problem: I have two lists of data, and want to plot them with ListLinePlot. The two lists are only data-points, therefore ...
3
votes
2answers
99 views

How to plot multivariate tabular data

Suppose I have tabular data usual for numeric packages: T = Table[{x, Sin[x], Cos[x]}, {x, 0, 1, 0.1}]; T // TableForm Now I want to plot ...
6
votes
2answers
99 views

MatrixPlot provides wildly inaccurate PlotLegend?

I noticed something weird with MatrixPlot's PlotLegends -> Automatic behavior- here's a minimal example: ...
2
votes
3answers
76 views

Legend placement explanation

Could anybody explain, how the coordinates in Placed influence each other? ...
8
votes
2answers
131 views

Add reference letters to multipanel figures

I want to create a multipanel figure like that and so I would like to add a letter "A", "B", etc to each of the panel I've created. I usually first create each panel with the letter and then ...
2
votes
3answers
91 views

Can you Plot over some range but apply the “Filling” option over a smaller range? [duplicate]

I would like to shade the area between a function, and a line, but only over a specific range. This range is smaller than the range of the entire plot. The example code and plot below make my goal ...
2
votes
2answers
108 views

How to combine ListPlot and ListPlot3D

Suppose I have a plane drawn by ListPlot3D and I have one intersection of that 3D image drawn by ListPlot. How can I combine ...
3
votes
1answer
92 views

How can I connect the local minimum-value points between a series of curves by dotted lines?

I have a set of data obtained by NDSolve. After I plot it, I want to indicate some feature of the curves. For example, I want to link the local minimum-value points between these curves by dotted line ...
1
vote
2answers
64 views

Using expressions in Text

I want to use Text to add some labels to a graph and was wondering if it is possible to use expressions inside Text? Here is a MWE of what I am trying. ...
1
vote
1answer
45 views

How can I get the second derivative and the reciprocal from the result of NDSolve?

I have obtained a result h(x) from NDSolve data. I can plot it data = Import["C:\\Users\\...\\Desktop\\data.dat"]; ListLinePlot@data Now I want to get the 2-nd ...
2
votes
1answer
51 views

Can I line the mesh lines on a `RegionPlot3D` up with integer values of the axes?

(Sorry if this is a duplicate, I searched briefly and didn't find anything.) I have region plots in 3D like: ...
5
votes
2answers
129 views

Understand MeshFunctions with Intercepts

Bug introduced in 7.0.1 or earlier and persisting through 10.0.1 or later While I've been thinking about this question, I tried to visualize the Intercepts. I use three snippets, actually snippet ...
5
votes
2answers
92 views

Paralleizing the Plot function internally

I have a function of several parameters, funct(a,b,c,d,f,...). Mathematica deals with this function fine but it takes a minute or so to make a data point. I want to plot graphs of funct using code ...
1
vote
0answers
89 views

Crop VoronoiMesh by States Latitude and Longitude

I want to crop a VoronoiMesh output (made with some point inside a Country state) by this same state border. I downloaded a ...
0
votes
2answers
68 views

Getting FerrersDiagram to work

I am trying to generate FerrersDiagram (see http://reference.wolfram.com/language/Combinatorica/ref/FerrersDiagram.html), any clues to getting it to work? I get error message for the following: ...
1
vote
0answers
28 views

No output from Plot3D when run from a script

Running Mathematica 10 on Ubuntu 14.04. When I run the following in the notebook it shows a plot. When I run the same code from a script (math < plot3d.test.m) ...
3
votes
2answers
82 views

Suppress extrapolation of interpolating function in a ContourPlot

I have defined an interpolating function, myfcn[x], valid on the domain x = 0 to 1.5. I am then using ...
1
vote
3answers
135 views

Plot part of a circle

I want to draw a path of integration and I am facing the following problem. Given 2 point on the unit circle, draw all point of the circle that are left of the line the two points define. This is to ...
0
votes
0answers
31 views

how to use ParametricPlot with solution of NDSolve and other function?

I need to plot a hysteresis loop. For that purpose I solve corresponding differential equation with NDSolve command and now I need to plot dependence of the this ...
3
votes
3answers
238 views

How can we plot the complex roots of an equation?

If we'd like to display the $n$ roots of a polynomial on the complex plane as points, how can we do this? For example, if we have the equation $x^3 + x^2 + x + 1$, how can we plot the 3 roots as ...
1
vote
0answers
68 views

Custom plot range cropping

I'd like to plot two functions, say, Plot[{1 + Sin[x]/4, 10 + Cos[x]/4}, {x, 0, 10}, Frame -> True] Since their amplitudes are really small, I'd like to ...
4
votes
1answer
79 views

Does PrivateFontOptions -> {“OperatorSubstitution” ->False} fail in version 10?

Please consider the following, version 10.0.1, OS X Mavericks: ...
4
votes
2answers
230 views

How can I create a plot like this in mathematica?

I think this is called a caterpillar plot. The dot is the mean and the lines represent a 95% confidence interval. On the x axis there are several different test cycles, the red line is the true ...
6
votes
2answers
148 views

AxesLabel broken in Version 10 for 3D plots?

In version 10.0.1 (Win7), AxesLabel with arbitrary text strings works as expected in 2D plots: ...
2
votes
1answer
86 views

Package for nonlinear plot coordinates

Is there a package for plotting in nonlinear coordinates? I mean that I provide coordinate transformation functions {xi(x,y), eta(x,y)}, for example ...
5
votes
1answer
145 views

Measuring the area of different regions from a picture

Consider the following picture of a phase plane which help us distinguish between regular and chaotic motion. The entire phase plane is divided into two types of regions: (i) the regular domain ...
1
vote
0answers
66 views

Have I found a bug in the built-in function BezierCurve? [closed]

A week ago, I asked a question about bezier curve ubpdqn's solution: ...
3
votes
2answers
153 views

Simple Plot of Vector

I have a vector $<x(t),y(t),z(t)>$ constrained to a unit sphere. I am trying to plot what the vector looks like as time progresses. What would be the easiest approach to visualizing this? I ...
-1
votes
2answers
62 views

Plot not showing values

Still pretty new too Mathematica. Can someone please point out what im doing wrong when trying to plot the Dijkstra' s fusc function? code: ...
0
votes
1answer
51 views

Graph and table of values of cdf of chi-square

I am doing an assignment and have derived the following function, but I don't know how to graph it. I have a trial of mathematica which I have never used before. $f(x)=a(23.685/x)$ where a is cdf ...
0
votes
3answers
71 views

Plot Complex Function [duplicate]

I want to have a 3D plot for the following function: (1.6 - 0.005 I) E^(-0.5 p^2 + ( 2. I) p q + (6.5 - 11 q) q) p and q from -10 to 10 Is there any way?
3
votes
2answers
67 views

Bar Graph - Compress/Shorten some elements

I have a bar graph that I'm plotting. Some of the values are very large when compared to others. I want to put more focus on the smaller values, while still showing the larger elements. The reason I ...
4
votes
1answer
85 views

Drawing disk with coordinates from NDSolve

I have simple Manipulation expression, but continuously getting error Coordinate {x[0.], y[0.]} should be a pair of numbers, or a Scaled or Offset form. I assume that something is wrong with ...
2
votes
1answer
64 views

Dynamic interaction with a 3D plot

I have a function: C = 0.0625 + 0.0008*X - 0.0232*Y - 0.0157*Z + 0.0059*X^2 + 0.0112*Y^2 + 0.0160*Z^2 - 0.0063*X*Y - 0.0243*X*Z + 0.0211*Y*Z This equation ...
6
votes
1answer
92 views

How to make several DateListPlot have the same scale?

I want to plot some weather data series. Unfortunately the series were collected in different episodes, from which some overlap. I would like to plot them as different plots in a column, but with ...
4
votes
2answers
149 views

QuantilePlot silliness

When I do a quantile plot of two large data sets (in my case, each of them of size around 3 million), the resulting notebook cell is huge, and if you save it as PDF, the resulting PDF is 13MB in size. ...
5
votes
3answers
307 views

How can I obtain a smooth curve from my data but preserve two inversion points

I have a list of data points, {x, y}, my data. When I plot them, the curve is jagged. I want to smooth the curve and preserve the two sharp corners. This is a plot ...