Questions on the construction of 2D and 3D graphics through the direct use of primitives, directives, and functions. Include the graphics3d tag for questions specifically on 3D graphics. This tag is not to be used for basic questions on visualizing functions and lists using the various flavors of ...
3
votes
2answers
121 views
Density plot for data with a wide dynamic range
I'm generating some figures for a paper. One of them has a pattern like the following figure:
...
0
votes
1answer
102 views
How to export a plot into a file?
I am trying to save some graphics into a file, and it seems impossible.
...
3
votes
1answer
173 views
Exporting a Video of a Simulation of Pendulum Motion
In a series of previous questions, I asked how to solve a series of differential equations describing a series of coupled pendulums, and then how to plot this data by coloring the different pendulums. ...
3
votes
3answers
102 views
How to control the speed in Manipulation
As the title says, I want to control the speed when I use Manipulate. I have the following piece of code
...
7
votes
0answers
281 views
Dual complex integral over implicit path using contour plot
Context
I am interested in doing double contour integral over paths which are defined implicitely.
For the sake of debugging, let's assume its
$$\oint_{\cal C}\oint_{\cal C} \frac{1}{u\, x} d u d x$$ ...
1
vote
0answers
61 views
Tooltip not working in web deployed cdf
I deployed a CDF file in a web page. I used both Mouseover and Tooltip functions. They both work in the raw CDF file. The ...
4
votes
2answers
190 views
How can I change a Slider's appearance?
I am using Mathematica 9.0 and Windows 7. I want to create a Slider that looks like the following:
I tried the following:
...
7
votes
2answers
288 views
Create triangular mesh from random list of points
I have a list of points. I would like to take these points and create a mesh of triangles from them, making sure triangles don't overlap. So here's a list of points:
...
2
votes
2answers
133 views
Illustrating half life
I'm teaching some lessons on negative exponents and one application listed was half life since the rate of decay can be written as 2^-1 every __ years.
I found this nice animation on the net.
...
13
votes
4answers
285 views
Is it possible to select outliers on a graph and determine the index of the outliers?
I have a large data set of experimental data for which I have determined a theoretical fit. However, for some of the experimental data I took, there was systematic error, leading to the data deviating ...
8
votes
3answers
1k views
How to export large graphics?
I'm using Raster to create large graphics (1000 by 1666), which I want to Export as a JPEG or TIFF in a resolution that can be printed in a large size, 3' by 5'. ...
3
votes
1answer
111 views
Adjacency List representation of a graph
I am looking to draw a graph knowing a simple adjacency representation of the graph like:
A = {{1, 3}, {2, 3}, {3, 4, 5}, {4, 5}, {5}}
Where ...
13
votes
2answers
206 views
1
vote
1answer
98 views
Changing default range for x- and y-axis in ListPlot3D
How do I change the default values for the x- and y- axis in this example without altering the z-axis values? For instance, I want the x-axis to follow a range based
on "x= 0.01 i+3" (not just i) , ...
5
votes
2answers
228 views
three-dimensional graphic objects that are not simple cuboids
I am trying to draw some graphics with Mathematica. The objects I want to draw are just a little bit more complex than a cuboid -- the difference being that the top and bottom faces are of different ...
2
votes
2answers
95 views
How do I determine the original aspect ratio of an imported image?
Say I import a TIFF, JPEG, or PDF image. How can I quickly determine the original aspect ratio of the image so that I can properly scale its size? I have thus far been unable to find an answer ...
2
votes
1answer
60 views
Snapping two “Drawing Tools” objects together while decorating an image
I'm using "Drawing Tools" to decorate an imported image (a TIFF file). I need to create a set of regularly spaced parallel lines, and my solution for doing this is to create a pair of parallel lines ...
4
votes
1answer
141 views
Drawing partition diagrams on spheres
I will be doing a few presentations at an undergraduate research conference later, the topics of which are somewhat tentative at the moment, but one of the things I wanted to go over were some of the ...
20
votes
1answer
340 views
Convert Graphics3D containing BSpline to polygon primitives for export to 3DS?
Graphics3D[] objects created with BSpline functions will not export to 3DS format, which only supports the more basic primitives. Is there any straightforward way ...
10
votes
4answers
394 views
Coloring Points in a Plot, based on their position in the list
Before I describe the question, I'd like to say that I've seen the excellent answers posted here but have not managed to get them to work for my own data.
I have a list of values that I would like to ...
3
votes
1answer
99 views
Something wrong with RectangleChart and Tooltip?
Currently I'm working on a diagram showing the merit order of power plants in the Netherlands. On the horizontal axes you see the cumulative power and on the vertical axes you see the costs per MWh. ...
7
votes
2answers
122 views
Tick marks shrinking with ImageResolution [duplicate]
High resolution PNG export is handy for print quality plots, however tick marks are not scaling properly. Does anyone know a solution or a work-around, preferably for M7 (on Win7)?
...
5
votes
2answers
280 views
Axes Origin & Labels in 3D Plot
I'm looking for a way to have the axes at the origin in a 3D plot and to label the (x,y,z) axes in the usual way---with x near the end of the drawn portion of the x axis, y near the end of the drawn ...
4
votes
2answers
105 views
Image Rotation, Line Symmetry
I'd like to import an image, superimpose it, reduce the opacity of the overlaid image, and then use a manipulate to rotate the top image to illustrate rotational symmetry.
The image below is using ...
2
votes
1answer
82 views
3
votes
1answer
110 views
Synchronizing manual rotations for multiple Graphics3D outputs?
Say I make a set of three Graphics3D images, here of three different cones, by evaluating:
...
8
votes
1answer
122 views
How can i generate a curve arrow tube?
Following the document, I generate a curve arrow tube using following code:
...
1
vote
1answer
73 views
Using With in combination with Graphics [duplicate]
Assume that we are given a symbol p={x,y} which should represent a 2D point. If x and y have ...
3
votes
3answers
102 views
Color function doesn't span the whole color range in MatrixPlot
In matrix visualization, for instance,
MatrixPlot[{{1, 2}, {3, 4}}, PlotRangePadding -> 0,
ColorFunction -> "Rainbow"]
the color map does not cover the ...
24
votes
3answers
433 views
How can I make points “glow”?
I have a set of points in the plane which I would like to have "glow". I would like for each point to glow individually and I would also like some increase in the intensity corresponding to an ...
2
votes
1answer
89 views
Increasing the size of numbers in a legend bar
I would like to know how you go about increasing the size of numbers which
appear in a legend to make them larger than the default (which is too small for publication purposes).
Example:
...
4
votes
1answer
444 views
Transform 3D data into 2D color map like Matlab's surf/imagesc
I have a bunch of 3D data (x, y coordinates and values) which is generated in Matlab and I need to render them in a 2D color map with certain axis ranges. Here are the Matlab code and the generated ...
31
votes
1answer
707 views
Constructing election cartograms?
I found this pretty neat page showing cartograms for the US elections and I don't really know how to get started doing these graphics in Mathematica. For those who don't know, a cartogram is a map in ...
9
votes
4answers
336 views
How to draw a higher-genus surface
NB: By higher-genus surface, I mean a closed orientable surface of genus at least 2.
This question has come up before on math.SE, and even MathOverflow, but most posters suggested using either ...
9
votes
3answers
158 views
“Stacked” BarChart with BarOrigin $\to$ Top makes y-tick marks negative
When BarChart layout is "Stacked", setting BarOrigin -> Top makes the y-axis tick marks ...
4
votes
1answer
371 views
Spiral pattern and Fibonacci numbers
I'm want to generate a 2D spiral pattern like the the one shown in the following figure. I can generate the spirals one by one, but I think there ought to be a more efficient method for generating ...
4
votes
1answer
109 views
Manipulating a Graphics3D output with a large number of geometric primitives
I'm attempting to view and rotate a Graphics3D object with a very large set of geometric primitives ($\approx 10^6$ objects such as spheres or lines), and everything is functioning very slowly. Are ...
7
votes
1answer
219 views
Mathematica color schemes for the colorblind
Does Mathematica have a graphics option that makes plots intelligible for people with colorblindness?
2
votes
1answer
59 views
Graphing the amount of time a function takes
I know I can find out the amount of time a function takes to run like this:
In:= function1[100] //Timing
Out:= {0.043334, Null}
How can I graph this over a set ...
11
votes
2answers
238 views
Helio chart for canonical correlation
I'm trying to create a chart usually called "Helio chart". It's a chart type very suited for canonical correlation analysis involving several dependent and independent variables.
However, it is a ...
6
votes
2answers
259 views
Calculating a minimum bounding box for a set of 3-space coordinates / spheres
I have a set of 3-space coordinates for the atoms of a molecule (I could also transform them into spheres with radii corresponding to the atoms they represent). I would like to place this molecule ...
1
vote
1answer
80 views
Draw only the top of the boundary of a function in Plot3d
So currently I have
via combining 3 Plot3D's in a show. My question is how can I make it so that the ONLY portion of that border highlighted green, is the "curving portion" in the xy plane, rather ...
0
votes
0answers
98 views
Copy and pasted graphics are fuzzy
I have a function that creates a 2D line with filling to the axis. When I copy this graphic into word it is very fuzzy, so much so that the numbers and text are almost unreadable, not to mention the ...
2
votes
1answer
150 views
Color coding based on 4D data within a building
I am trying to create something similar to a Heatmap within a building. Suppose I have a room with dimensions, {30,40,50} as length, width, and height respectively. I have a set of data that is of ...
8
votes
1answer
232 views
Control objects Sizing and placement in Graphicsgrid Vs Grid:
I have created a grid, and also made a list of control objects(e.g., input fields, buttons, etc.). Then, I lay the list in my grid. There is no problem. However, the final layout takes a lot of time. ...
0
votes
1answer
97 views
ContourPlot of a complicated function
I have the function $pot_1(x,y,z)$ which is given in analytical form. So, in order to plot the contours at the primary planes $(x,y)$, $(x,z)$ and $(y,z)$, I use the following ...
1
vote
1answer
189 views
How do I draw multiple 3D shapes defined by lists of points?
I'm attempting to draw $N$ cones on a 3D object, where each cone is specified by a pair of 3D coordinates. The first coordinate is for the cone's base, the second one for the cone's apex. Here, I ...
8
votes
4answers
437 views
Plot a 2D vector path onto a surface
In my calculus 3 course, we're studying gradients and have a project that takes a combination of 3D Gaussian radial surfaces and a basic parametric path $r(t) = \{x(t),y(t)\}$ to see how the gradient ...
6
votes
3answers
131 views
How can text-specific antialiasing be disabled in Rasterize?
While tinkering with the code in the Falling Matrix question, I was hoping to improve the rendering speed by making the rasterizations of the text grayscale. I changed the base color of the text to ...
4
votes
1answer
64 views
How to prevent output truncation when importing large Graphics?
The Evaluation Preferences in Mathematica specify a maximum output size of 1048576 Bytes before truncation occurs. That makes a ...





