Tagged Questions

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 ...

learn more… | top users | synonyms

2
votes
1answer
215 views

Why are my FrameTicks not working on ArrayPlot?

For some reason the ticks don't work on this: ...
22
votes
5answers
3k views

Making fractals with Mathematica

I recently saw this post on math.stackexchange and was curious as to how to generate the image in Mathematica. I tried the following naive approach; however, it is extremely slow. ...
13
votes
3answers
1k views

Clustered and Grouped Bar Chart in Mathematica v8.0

How would I create a clustered and grouped bar chart that looks like this (which was painstakingly created using Excel)? I have seen examples for Mathematica v6.0 but none for Mathematica v8.0. The ...
1
vote
0answers
98 views

Show Legend with 3D ListPlot [duplicate]

Possible Duplicate: Creating legends for plots with multiple lines? I am trying to plot the color bar that shows the data range for the data plotted by ...
2
votes
2answers
302 views

How to extract RGB arguments as a list

Although the following lines of code work fine they are very awkward. My questions are below a = RGBColor[1, 0, 0] b = RGBColor[0, 1, 0] Is there a more compact ...
6
votes
3answers
550 views

How can I completely remove the ListAnimate controls?

I want to use ListAnimate to show an animation but I want to remove the slider and all of the buttons from the top and show the animation panel only. There is an ...
2
votes
1answer
331 views

Isomorphisms for graphs with loops and multiple edges

I am working with graphs with multiple edges and loops, and I want to eliminate all isomorphic graphs from a long list I've generated. The FindGraphIsomorphism ...
2
votes
3answers
222 views

The same range on each plot in a grid

Suppose I have a bunch of graphics that I want to display in a grid: ...
40
votes
9answers
2k views

Animating mathematica.se logo

As we all know our site's logo was completely generated by Mathematica. I suppose it is quite natural to make the next step -- to generate the animated version of this logo. There's a lot of space for ...
6
votes
1answer
348 views

Interactive Graph Editing with Animation

I want to make a simple interactive user interface like this: Such that when the user clicks on the "Add Edge" button, the edge specified by from and to fiels is added to the graph. The new graph ...
10
votes
2answers
842 views

How do I map a Mollweide projection onto a sphere?

I have this Mollweide projection of the Earth circa 600 million years ago (http://jan.ucc.nau.edu/~rcb7/370moll.jpg).(1) I want to map this onto a sphere. My results have big black splotches in ...
9
votes
2answers
315 views

Transition between graphs

I want to visually demonstrate the manipulations made to a graph. For instance, I have a graph g where using the command ...
15
votes
2answers
398 views

Scaling edge thicknesses

UPDATE There may be some confusion as to the specification of the problem. kguler's answer doesn't really answer the question. I'll try to elaborate a bit at the bottom of the post. One problem ...
35
votes
5answers
2k views

Factorisation diagrams

Here is a way to visualize the factorisation of natural numbers. How do we get this or a similar kind of output using Mathematica? See the list of images generated for number from 1 to 36:
16
votes
3answers
995 views

Get x and z coordinate from an image and make a parametric surface

In this blog entry, this step is mentioned: I grabbed an image of a Peugeot wine glass from the web and used the Get Coordinates function to digitize its outline, which I fed to Interpolation to ...
4
votes
1answer
181 views

What BarChart Option controls Joined line thickness?

Is there a named option that controls the thickness of the line segments that appear in BarChart with options ...
3
votes
1answer
226 views

How to partition MatrixPlot graphics?

Is there an easy approach - hopefully built-in - to partitioning MatrixPlot graphics into rows or columns (or both) of graphics sharing the same underlying options? ...
0
votes
0answers
60 views

Make PlotMarker explanation [duplicate]

Possible Duplicate: Creating legends for plots with multiple lines? I have a ListPlot of data points. To distinguish between datapoints coming from different sources, I give them different ...
11
votes
2answers
784 views

How to vary color of fill between listplots based on y-distance between them

I have two lists with the same x-values but different y-values. I have used ListPlot to plot and fill the space (line) between them; however, I would like the color ...
14
votes
1answer
351 views

Why do Arrowheads interfere with ImagePadding?

Bug still present in version 10 under Windows. In a recent posting, Belisarius solved a problem related to the display of arrows on the x and y axes by setting ...
11
votes
6answers
538 views

Overlapping Red and Green ArrayPlots to show yellow intersections

Let's say I have two ArrayPlot[]s. One is in redscale and the other is in greenscale, such that the lowest value is white and the highest value is pure red or ...
12
votes
3answers
779 views

How to get 2D graphics into 3D without background?

Consider the following code: ...
4
votes
2answers
252 views

Transform x-scale of data for e.g. MatrixPlot

I have to transform in a nonlinear way the x-scale of some data for a MatrixPlot (or ReliefImage or ...
29
votes
5answers
6k views

Custom arrow shaft

Inspired by Sjoerd C. de Vries' nice answer to this question, and the desire to pimp a Graph I did with Mathematica recently I would like to know if there are ways to customize the arrow's shaft ...
17
votes
1answer
2k views

Vectorizing an image like “Trace Bitmap” in Inkscape

Lately, we had a nice question about artistic image vectorization which got very nice answers. As Szabolcs pointed out himself Since "true" vectorization performed by various specialized software ...
12
votes
2answers
503 views

Proper Filling of Self-Intersecting Polygon

I have a spiral pattern that I would like to fill, which self-intersects. My desired behavior is to have filling between neighboring lines only, and to represent this figure as a single polygon. The ...
2
votes
1answer
480 views

How draw dynamic empty rectangle over a bitmap?

I am trying to make a cookie cutter that will extract a small square from a much larger bitmap with a click of the mouse. The LocatorPane appears to be a useful way ...
1
vote
2answers
251 views

Saving graphics object in order to manipulate it later?

I've generated a bunch of graphics using ContourPlot wich, given the nature of my problem, take a long time to create, and I was wondering if there is a way to save ...
4
votes
0answers
154 views

Getting EPS imports to respect the original fill rule

One major problem in my attempt to answer to the CountryData flags question is that the way Mathematica handles filled curves differs from the way SVG and EPS style editors do. The latter two have the ...
6
votes
2answers
208 views

How to make each node of a graph a button?

A newbie question this one - MMA help seems to suggest it would be possible to place a button on ( or have a button be ) each node of graph, labelled with the name of said node. I have no idea where ...
1
vote
1answer
130 views

Why doesn't Normal[] work?

I have a polygon on which I'm applying a GeometricTransform and I want to get the coordinates of the transformed polygon. ...
2
votes
1answer
388 views

How specify PlotRange and display bitmap over plot in DateListPlot?

The problem came up in a plot of RGB data obtained by imaging the variable star d-Cephei with a DSLR camera on several successive nights. I tried to plot the R, G, B intensity points for each day in a ...
10
votes
2answers
623 views

Detecting edge/region in contour plot

I am interested in improving this plot: which I produced with the following command: ...
6
votes
1answer
312 views

Efficient dynamic drawing

So for example I have this code: ...
0
votes
0answers
181 views

How to make “molbio-style heat maps” in Mathematica [duplicate]

Possible Duplicate: How to combine ArrayPlot's? [NB: This question is specifically addressed to those who have used (or attempted to use) Mathematica to generate "heat maps" (as the ...
5
votes
3answers
413 views

PDF exports of ArrayPlot's are fuzzy (OS X)

[The following problem occurs on OS X; I don't know if it also occurs with other OS's.] If I produce a Graphics object with ...
7
votes
4answers
780 views

How to combine ArrayPlots?

Define: fat = ArrayPlot[RandomReal[1, {20, 10}], ColorFunction->"Rainbow"]; skinny = ArrayPlot[RandomReal[1, {20, 1}], ColorFunction->"Rainbow"]; What ...
8
votes
3answers
208 views

Identify which cell uses most memory in front-end

Even though the mathematica front-end is much more robust than it used to be, everyone must have noticed that when a few 3D graphics are involved, the front-end produces very large notebooks which ...
20
votes
2answers
1k views

How to quickly calculate intersections of filled curves?

I am trying to quickly calculate the intersection of polygons with more than 6,000 points. A compiled solution would be preferable. Here is one example of the problem: ...
3
votes
2answers
321 views

Rules governing Plot line generation

I was looking at the Documentation Center for Round, Ceiling and Floor when I noticed that ...
4
votes
1answer
164 views

How to recover a graph without instructions to produce it?

I have an output graph on a saved notebook that I cannot reproduce with my data (I messed up the instructions). Can I take that graph, insert it in a new notebook and modify it? (I'm thinking about ...
11
votes
4answers
577 views

Why do some CountryData flags render at low resolution?

This question is related to data analysis introduced here Why do some flag images from the CountryData dataset render at very low resolution both in Front End and ...
11
votes
2answers
253 views

can a ColorFunction have side effects?

Can anyone explain this (to me) odd behavior. If I run this code once (fresh kernel) it works as intended. ...
18
votes
4answers
863 views

How to plot Error Bars in a 3D scatter plot

This is a simple problem which is proving difficult to solve. I want to plot error bars on points in a 3D scatter graph. I plot error bars on points within a 2D scatter by: ...
6
votes
3answers
487 views

Getting all the countries' flags and then using them as chart labels?

What's the code to list all the world's flags? CountryData["G8", "Flag"] works to get those particular flags, but what about all the world's flags? ...
23
votes
2answers
1k views

An efficient circular arc primitive for Graphics3D

As many people have noted, the 2D graphics primitive Circle doesn't work in a Graphics3D environment. Several solutions to this ...
19
votes
6answers
1k views

Understanding Pie Chart Annulus generation and alternate style using Disk[]

Background I have been working with a set of data for some time now and I recently decided to change the format. The data is a tree-styled listing of hierarchical names and positions. (* Names ...
8
votes
0answers
245 views

How to style and position VerticalCallouts and RadialCallouts

Here is a pie chart with a labels placed with a "VerticalCallout" ...
16
votes
2answers
677 views

How to measure segment length and branch angle

I am trying to measure segment length and branch angle or bifurcation angle between each pair of segments. My image after thinning looks like this: ...
5
votes
2answers
180 views

How can I set the tick marks of the x axis in RectangleChart?

By default, the x-axis in RectangleChart is not labeled. Using Axis -> {True, True} does not help. Can I set the ticks ...