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 ...
2
votes
2answers
148 views
Varying plot sizes for identical PlotRanges in ListLinePlot, where one has a legend
I am trying to make some figures using ListLinePlot in Mathematica 8. Although the PlotRanges are the same, the resulting frame sizes are different. The only difference (as I see it) between the two ...
5
votes
2answers
177 views
Applying different color to result of a geometric transformation
Background: consider the following two snippets.
...
16
votes
3answers
722 views
Generating graphs interactively (GUI)
I want to create graphs interactively using a GUI. I thought of using a ClickPane[] environment. The code I have (in part borrowed from the Documentation) works ...
18
votes
2answers
558 views
How can I customize arrowhead shape to match common LaTeX styles?
How do I control the shape of my arrow heads? LaTeX's TikZ package has a wide variety of predefined arrowhead styles, some of which I'd like to try to match for Mathematica figures I'm importing into ...
6
votes
2answers
436 views
Create complicated text formulas in graphics
I want to put somewhat complicated, or at least non-standardly formatted, text on some of my graphics. For example, I'd like to be able to use f^[4](x) (where the ...
6
votes
1answer
227 views
15
votes
4answers
1k views
How do I draw a triangle given the lengths of the sides?
I know, of course, how to draw a triangle in the plane given the vertices:
Graphics[Polygon[{{1, 0}, {0, Sqrt[3]}, {-1, 0}}]]
But I'm not sure how to simply draw ...
4
votes
2answers
191 views
Color based on (discrete) derivative of function
I am making a very basic stock simulation. I want ListLinePlot to color my stock viewer based on whether the price went up or down from the previous price. Here is ...
14
votes
2answers
1k views
How to save plots in grayscale
As sophomoric as this question seems, how should I save plots in grayscale in Mathematica?
I generally like eps images for their scalability and I use ghostscript or other third party perl scripts ...
15
votes
2answers
442 views
How can I pack circles of different sizes into a spiral?
Given a list of circles of different areas, I need to arrange them tangentially in order of increasing area and spiraling outward. An example of the type of packing I'm attempting is shown by the ...
5
votes
1answer
667 views
Formatting Ticks and FrameTicks labels with a function
Is there a convenient way to format tick labels? In this example I would like to use the default Mathematica tick intervals, but simply convert the X axis labels to strings with "s" added.
As you ...
6
votes
1answer
2k views
how to make graphic timelines in mathematica
Hi does anyone know how to make timelines with mathematica?
http://images.nationmaster.com/images/motw/atlas_middle_east/turkey_timeline.jpg
something like that would be great! thanks
9
votes
3answers
581 views
Adapt ticks in plot and font in legend
Some of my 2-dimensional data are displayed with a code similar to this:
...
21
votes
3answers
2k views
ListPlot with each point a different color and a legend bar
I would like to generate a ListPlot with the color for each point in the plot corresponding to a particular value (not associated with the position in the plot). I'd then like to add a legend ...
19
votes
7answers
1k views
Sizing cells in a GraphicsGrid/GraphicsRow
I would like to add a colour bar to a plot. I tried to use GraphicsRow for this. In a GraphicsRow, each item is given the same ...
7
votes
1answer
421 views
How to render a 3D tubular graphics from a 2D image path
Question: Is it possible to create a tubular 3D image like Extruding along a path
using "Tube" function in mathematica for following images?
Image (1)
Image (2)
Thanks
I have been ...
10
votes
2answers
226 views
ShearingTransform and Dynamic
Background: I have a geometric transformation composed of a RotationTransform, ScalingTransform and ...
4
votes
3answers
245 views
15
votes
5answers
669 views
How can I create a rectangular graphic with curved edges?
I want to make some button shaped graphics that would essentially be a rectangular shape with curved edges. In the example below I have used Polygon rather than ...
11
votes
4answers
1k views
How to draw an ellipse arc in 3D?
There is no Circle or Disk object in 3D. I quickly found a way to use Cylinder (thin lines, no faces, very flat):
...
0
votes
1answer
169 views
Graphics copy paste
Background. I have a function ( stored in a package ) that creates 2D graphic images, its prototype looks like this:
...
16
votes
3answers
574 views
Using Inset[..] to overlay a Graphics3D with its raster version
Preamble
First let me explain the why. You can skip this and go directly to the question if want to answer it right away. We had more than one discussion about how to produce nice looking 3d plots ...
4
votes
1answer
297 views
ListPlot3D - How to make the Color depending on a second list
From a simulation (solid state physcis) i obtained a list1={{300,0,0},...} with x values=300,400,...,1500
and y-values=0,0.08,...,20 and z values. I plotted them ...
6
votes
3answers
299 views
How to get rid of Panel margins?
I have a feeling that there is something wrong in general with Mathematica's way of dealing with margins and spaces among/around objects in Graphics, ...
3
votes
1answer
125 views
Bring Vertices to the foreground
I'm having some issues with being able to trigger the Tooltip in an AdjacencyGraph, as the edges are "covering" the vertex labels.
In the example provided, there are no issues to display the tooltip ...
1
vote
1answer
114 views
1
vote
1answer
113 views
49
votes
8answers
11k views
How to make an inkblot?
How to effectively create a polygon that looks like a realistic inkblot? So far, I could come up with this (borrowing from Ed Pegg Jr.'s Rorschach demonstration):
...
5
votes
2answers
241 views
How to add graphics options to an already produced plot having manipulator?
I am new to Mathematica and stuck with one problem i.e.
How can I add a graphics option to an already made plot which a manipulator to control itself.
...
30
votes
5answers
912 views
Rotating an image along a Möbius strip?
I am trying to make a GIF which will be a rotating Möbius strip, with some text printed along its (one!) side. I am trying to (obviously) do this in Mathematica.
After some diligent searching and a ...
6
votes
2answers
553 views
Animating a rotating disk
I have a system with 3 degrees of freedom that I want to know if it is possible to visualise with Mathematica in the two-dimensional $X-Y$ plane. I have a plane ...
2
votes
2answers
280 views
Animating a 3-D arrow given the vector's x, y, and z components as a function of time
I am trying to show how a vector M varies over time. I have the following code:
...
13
votes
2answers
469 views
Computing the bounding boxes for Text objects
Regardless of AspectRatio, the Text boxes overlap.
...
6
votes
1answer
138 views
LocatorPane and multiple EventHandlers, PassEventsDown option
Consider the following piece of code from Heike as an ( accepted ) answer on LocatorPane, selecting multiple Locators - Basically the code implements dragging polygons on a LocatorPane.
...
73
votes
3answers
8k views
How to create word clouds?
Word clouds are rather useless fancy and visually appealing plots, where words are plotted with different sizes according to their frequency in a corpus. Many applications exist out there (Wordle, ...
6
votes
1answer
131 views
6
votes
2answers
143 views
Control which variables get embedded inside Manipulate
While trying to analyse several different datasets I got what I thought was a good idea: define a "function" that returns a Manipulate object. But this has some ...
8
votes
1answer
232 views
Speed up DensityHistogram rendering (display)
When I tried to present some pre-calculated density histograms inside Manipulate I noticed that the display of DensityHistogram is extremely slow. Here is a simple ...
2
votes
1answer
125 views
22
votes
1answer
367 views
On drilling holes with minimal redundancy (and with colors!)
The old Mathematica package Graphics`Shapes` featured the function PerforatePolygons[], which drilled a hole in any ...
16
votes
6answers
1k views
Using ListPointPlot3D to simulate 2D plots moving in time
I wrote a 1D solver for the heat equation $u_t=u_{xx}$, and I can animate the solution using normal ListPlot command, where the x-axis is the rod length, and the ...
15
votes
5answers
2k views
Flipping axis on a plot
I want to make a 2D plot where the x-axis is flipped so the higher numbers are on the right and lower numbers are on the left.
I've managed to do it by flipping the data and making new ...
32
votes
2answers
802 views
Extract values for ViewMatrix from a Graphics3D
Under More Information in the help page of ViewMatrix the following entry can be found
With the setting ...
6
votes
2answers
97 views
How to define and work with temporary graphics data?
Background: I am working on a program that produces design patterns ( using wallpaper- and frieze-group theory ). This is for example a 'generating region' for a frieze or a wallpaper.
...
14
votes
4answers
372 views
What does DisplayFunction->Identity do to graphics functions?
Does DisplayFunction->Identity do anything at all in Mathematica 8?
In the third edition of Programming in Mathematica, Roman Maeder gives the following ...
6
votes
0answers
118 views
How to create a floating image with no window background [duplicate]
Possible Duplicate:
What is the most effective way to setup a Notebook with transparent background but solid contents?
When MMA 8 starts, a floating image of spikey is shown. As you can see ...
9
votes
2answers
167 views
Encoding format used by GraphicsData?
I am trying to extract some graphics stored in PICT format from a Mathematica notebook, using a platform that doesn't support PICT. If I look at the .nb file in a ...
3
votes
1answer
127 views
Frame or EdgeForm disappearing out of PlotRange
I am trying to obtain a thin frame around the bars in this chart but it's proving rather tricky. Can anyone suggest a solution?
...
11
votes
4answers
627 views
Real Size Image Printing
I am generating a complicated graphics with Mathematica, but with objects of given sizes (e.g. a line of length 1 inch, between two points). I want to make sure that when I export the graphics, e.g. ...
23
votes
1answer
229 views
Is there a way to access the (lexically) current colour inside Graphics?
Note that this is not a duplicate of the question over there. That one asks for a given point, while I'm asking about the lexical structure (which, of course, is not directly related to any point in ...

