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

learn more… | top users | synonyms (12)

2
votes
1answer
251 views

Plotting John Conway's Hecatohedron

John Conway has given an explanation how a regular Hecatohedron (polyhedron with 100 faces) looks like: http://www.ics.uci.edu/~eppstein/junkyard/hecatohedron.html Conway explains: Here's a ...
28
votes
2answers
1k views

High-quality RegionPlot3D for logical combinations of predicates

Unlike RegionPlot, RegionPlot3D copes poorly with logical combinations of predicates (...
0
votes
0answers
265 views

Viewpoint options for a 3D plot [duplicate]

Let's say I created a 3D plot in Mathematica. It's not oriented the way I want it, so I manually rotate it (in the output cell) to a desired view. (I tried playing with some view options in the code, ...
3
votes
4answers
577 views

Interpolating a plot with missing values

With data = {{1, 1}, {2, 2}, {3, 3}, {4, 4}, {5, 5}, {6, 6}, {7, 5}, {8, 4}, {10, 3}, {10, 2}, {11, 1}} and ...
1
vote
1answer
146 views
1
vote
3answers
165 views

Correct graphical representation of a discrete function (PMF)

I have a list: {1,2,2,3,3,3,3,4,4,5}. I want to plot the percentage occurrence of elements in the whole list. So the list plot I want to do is: ...
0
votes
1answer
60 views

Failing to get colours in Plot [duplicate]

When I plot the functions generated by NestList, I do not see differently coloured lines, which I do if I explicitly list them out. I.e. with: ...
0
votes
1answer
133 views

How can I add points on a plot?

I have a list of points that I want to a plot, but I can't figure out how to do it with Epilog. Here's the code I have so far: ...
3
votes
1answer
504 views

How to eliminate the margin between figure and frame in DensityPlot? [duplicate]

In DensityPlot, how to get rid of the white margin between the figure and the frame so that the figure itself spans the entire domain? ...
2
votes
1answer
147 views

Why is ListLogPlot skipping entire decades?

I'm having an issue with Mathematica wherein, when trying to use ListLogPlot, the scale of the y-axis skips entire decades. Instead of 1, 10, 100, 1000, it goes more like 10^2,10^4,10^6,10^8. I need ...
2
votes
2answers
188 views

How can I remove edges from my DiscretePlot?

By default, DiscretePlot displays "edges" along the sides and, prominently, align the top when ExtentSize -> Full is set. For ...
2
votes
1answer
124 views

A problem about option “Plotlegends”

Today,I use the Mathematica to deal with data.My code as below: Needs["PlotLegends`"] Function Definition: ...
2
votes
1answer
94 views

Why is Chop ignored in Plot?

I want to plot multiple functions with the same settings side-by-side, so I use the pure function construct (for clarity, I only use one function in this example) ...
3
votes
1answer
507 views

Specifying view angle of a 3D plot [duplicate]

I would like to create a stereogram from a 3d plot; I would like to export two images of a 3d plot at a slightly different angle, so that when each picture is presented to a different eye, one gets ...
2
votes
2answers
177 views

Graphical solution of a a two-variable system containing an equation and an inequality

I'm currently studying atmospheric-gravity waves and their dispersion relations. I want to have look at values of $(x,y)$ that solve the following system : \begin{equation}\label{}(1) \left\{ \...
2
votes
2answers
148 views

Labeling a plot frame

I am trying to label the frame of an overlay plot I have made. However, it is not working at all. Here is my code: ...
0
votes
1answer
128 views

Plotting multiple vector fields with different domains in a single graph

I have attached a scheme of the problem. Essentially what I need is to plot 2 different vector fields in a single graph with different domains. The underlying physical problem is to model electric ...
6
votes
3answers
234 views

Looking for ideas for handling a complicated fitting problem

I have the following data: ...
0
votes
1answer
674 views

Discrete peaks to curve via Voigt summation

I have two data sets. One is an experimental recording of an absorption spectrum, composed of regularly spaced (wavenumber, intensity) coordinates with a fine wavenumber resolution, thus making ...
1
vote
1answer
137 views

Custom ticks in distribution chart [duplicate]

I am trying to just get simple logarithmic ticks to the distribution chart, and failing... It is unhappy with any FrameTicks format I try (sparing ...
4
votes
1answer
519 views

Make Plot look like Bloomberg terminal

I've always wanted to make my financial Plots look like a Bloomberg terminal. How would I go about making my chart look like one? I am talking specifically about ...
2
votes
1answer
207 views

Plotting and ContourPlot

Make a Plot and a ContourPlot that gives the same diagram and use ContourPlot on a quadruple ...
6
votes
2answers
153 views

Is it possible to get a VertexColors effect in cylinder?

I'm trying to create a figure illustrating a cylinder filled with gas. And I saw a very good looking similar one at here. The shape is polygon and by using the VertexColors option, it creates a ...
1
vote
2answers
832 views

Projection of curve 3D (x,y,z) on the x-y plane

I have a following systeme : \begin{equation} \left\{ \begin{array}{rcr} (\beta+\frac{1}{2}\delta^{2})\nu_{1}(u)-\delta\nu_{2}(u)+\nu_{3}(u)& = &0\\ (\beta+\frac{1}{2}\delta^{2})\...
1
vote
1answer
689 views

Change size of a saved plot or image (post-processing)

I have many plots (that take a long time to run) and each is saved to a variable name. For simplicity, say one was: ...
1
vote
5answers
2k views

Make a scatter plot from two columns of matrix

I have imported my text-type data as a matrix. I want to make a scatter plot (ListPlot) using one column as x-axis and other columns as y-axis. Is there a ...
8
votes
1answer
344 views

Why do Tooltips slow down Dynamic so much? Is there a faster alternative?

I'm working on a Dynamic ListPlot with a few thousand plots, and it seems that wrapping the points with Tooltip slows the Dynamic responsiveness substantially. With the simple example below, dragging ...
1
vote
1answer
92 views
0
votes
1answer
161 views

Contour plot show value change

...
17
votes
3answers
983 views

How to make a pie chart using custom image

Can we make a pie chart using a custom picture? For example, consider this image of one cent coin: I would like to use this image and cut pieces out, depending on data, and also make a clickable ...
0
votes
1answer
198 views

Zooming into Parametric Animation Plot that Uses InterpolatingFunctions

I have an interplanetary trajectory solver that calculates a spacecraft route from Earth to Mars, and I am trying to zoom into the spacecraft when it reaches its Mars intercept orbit but am having ...
1
vote
2answers
99 views

Manipulate which creates and deletes Manipulators dynamically

I want to plot a function in a Manipulate in which the number of terms varies and a Manipulator for the coefficient of each term ...
1
vote
3answers
160 views

Simple question about AxesLabel

I am plotting a function and for labeling the axes I use: ...
1
vote
3answers
94 views

Question about plotting one function with different colors [duplicate]

How to plot a function with different colors. I want to plot the function x^3-x with distinct color. For example, using red from -1.5 to 0 and using green from 0 to ...
-2
votes
2answers
114 views

Question about plotting

I would like to duplicate this graph: I've used this code to draw the circle: Graphics[{Circle[{0, 0}, 3, {-2Pi, 2Pi}]},PointSize[.025]] But Mathematica ...
0
votes
1answer
575 views

Plot3D Not Showing plot

I have a function that I'm trying to visualize and for some reason the plot only shows a small snippet of the graph of the function. The function, d, and relevant ...
5
votes
2answers
141 views

What is the syntax to conditionally suppress plotting in version 9?

Bug introduced in 9.0 and fixed in 9.0.1 In Mathematica 7 it is very easy to conditionally suppress plotting of individual lines using If: ...
1
vote
1answer
162 views

Set plot axes to be positive in both directions

How can I set the axes of a plot to be positive in both directions, along the lines of this image? I've looked through some questions on how to change the axis direction (here, here and here) but ...
11
votes
4answers
1k views

Plot the minimum of a list of functions

This is my first question on any stack-exchange site and I'm also very new to using Mathematica software so please excuse/correct me if I mess up. I would like to take a list of functions of a single ...
1
vote
2answers
364 views

PlotMarkers with black border

I notice that when I paste my graphs in word sometimes they are not very well readable. A colleague of mine send me a graph made with Sigmaplot. The first figure is made with Mathematica, the second ...
1
vote
2answers
208 views

Plotting adiabatics

I have the following code for drawing two isotherms for a Carnot engine: ...
5
votes
1answer
296 views

Why setting PlotPoints make my 3d contour plot broken?

I'm trying to make a iso surface plot from some data using ContourPlot3d. My data is a 3 dimension data with form like {{x,y,f[x,y]},...}. I first make this data ...
7
votes
2answers
191 views

Why does StreamColorFunctionScaling refuse to turn off?

Consider this simple streamline plot: StreamPlot[{-y/10, x/10}, {x, -1, 1}, {y, -1, 1}, StreamColorFunction -> Function[{x, y, u, v}, Hue[v]]] The ...
1
vote
2answers
161 views

Controlling what is plotted in a multi-curve plot

My question is on trying to cut off certain plots within a Plot with multiple expressions being plotted. I want to be able to stop the two dashed-line plots at ...
0
votes
1answer
1k views

3D plot of a solid of revolution [closed]

I'm trying to rotate the area between the graphs of $y=3$ and $y=x^2$ around $y=1$. I'm not attempting to just find the area as that would just be ...
1
vote
0answers
44 views

ListVectorPlot3D invalid dataset [duplicate]

I have generated a dataset which seems to fine according to the help page of Mathematica for a ListVectorPlot3D but, it says it is not a valid set. I have given the data set below, could someone ...
0
votes
2answers
172 views

How to assign special colors to the output of DensityPlot?

I have created the following function for plotting ...
1
vote
0answers
147 views

scatterplot from 3d table

I am using this code: ...
1
vote
2answers
481 views

More stream lines in a ListStreamPlot

To provide a bit of background, I have a set of wind flow data from a two-dimensional computational fluid dynamics simulation in an urban environment. The data that are returned from the simulation ...