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

learn more… | top users | synonyms (6)

-3
votes
2answers
125 views

How can I plot a list of 1-D data along the x-axis?

I would like to know how to create a graph from the following data: ...
1
vote
1answer
50 views

How to increase the font size in PlotMakers

When I use PlotMarkers -> {\[FilledCircle], 40} in ListPlot I get something like this: How can I increase the font size of ...
0
votes
1answer
171 views

NDSolveValue with a multiple variable equation

I'm trying to plot this equation of motion for a pendulum with a periodically applied torque for 20 cycles, where b, m, L, g are given constant values. ...
1
vote
0answers
36 views

How to Plot with different styles different InterpolatingFunction [duplicate]

Im sorry for this question I'm new and it may be a stupid question, but I can't find nothing specific. I have these differential equations and NDSolve give me ...
5
votes
2answers
182 views

Manipulate showing the trajectory of a particle

I'm trying to plot the trajectory of a particle: ...
15
votes
0answers
197 views

Bug(?) in version 10: Tooltip and ListPointPlot3D

Bug introduced in 10.0.0, persists through 10.1 The coordinates of a point in a three dimensional graph can be shown in a tooltip: ...
1
vote
0answers
127 views

ListContourPlot in V10

It seems that I obtain different results when using ListContourPlot under V9 and V10. Using this datafile http://pastebin.com/2p4ew0NJ (modified to use pastebin), ...
1
vote
1answer
91 views

Nothing happens when I click the mouse clicked on my graphics

I wrote codes to record list of coordinates when mouse clicked. It is expected that the coordinates should be plotted dynamically. But actually nothing happened. Can anybody help me to find the ...
3
votes
3answers
164 views

Tooltip with ListLinePlot and interpolation

Is it possible to get the coordinates of any point on a graph using Tooltip, ListLinePlot and interpolation ? For example on this simple example ...
0
votes
2answers
73 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
76 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
52 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 ...
5
votes
2answers
191 views

ListPlot inserts extra PlotMarkers and Mesh at crossing points

In the example below, ListPlot with PlotMarkers -> Automatic and a variant using ...
1
vote
2answers
56 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: ...
8
votes
1answer
418 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
275 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
312 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
120 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 ...
19
votes
4answers
774 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
46 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
110 views

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

I've been trying to evaluate this line ...
2
votes
3answers
150 views

RegionPlot won't finish, but Plot3D does

I would like to produce a region plot where some function is less than 1. This runs for hours without finishing (until I lose patience and abort it). However, I can plot the function (using ...
4
votes
1answer
140 views

How to translate image points position(row, column) to their coordinate(x,y)?

Here is the code to find image edge and record the morphological connected pixels positions. How to translate the row/col positions to x/y coordinates? ...
2
votes
1answer
177 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
35 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
310 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
119 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
157 views

MatrixPlot provides wildly inaccurate PlotLegend?

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

Legend placement explanation

Could anybody explain, how the coordinates in Placed influence each other? ...
8
votes
2answers
196 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 ...
9
votes
0answers
173 views

How to align rotated BarChart labels? [duplicate]

I'd like to use long text labels for a simple BarChart, but when I apply a rotation to label strings with different lengths the end of the text is no longer aligned ...
2
votes
3answers
169 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
195 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
115 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
81 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
122 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
97 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: ...
7
votes
2answers
203 views

Understand MeshFunctions with Intercepts

Bug introduced in 7.0.1 or earlier and persisting through 10.0.2 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
111 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
105 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
73 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
70 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) ...
5
votes
2answers
499 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
2answers
85 views

Plot3D and NIntegrate issues

f[x_, y_] := 2*x - y Plot3D[f[x, y], {x, -1*Sqrt[4 - y^2], Sqrt[4 - y^2]}, {y, -2, 2}] NIntegrate[f[x, y], {x, -1*Sqrt[4 - y^2], Sqrt[4 - y^2]}, {y, -2, 2}] I ...
1
vote
3answers
155 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 ...
11
votes
3answers
551 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
121 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 ...
8
votes
1answer
161 views

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

Please consider the following, version 10.0.1, OS X Mavericks: ...
4
votes
2answers
325 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
224 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: ...