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

6
votes
2answers
2k views

Multiple panel figure from combination of plots - bad alignment

I am trying to combine 3 ListContourPlots to obtain a 3 in-row panel figure in Mathematica 7, to export in one single eps file. One of the plots has also its own ...
10
votes
1answer
464 views

Is there an option to plot the Z axis reversed (as shown in the figure)?

Normally the Z axis is plotted from bottom-to-top as shown below : I got a plot with the axis (axes to be more precise) reversed as shown below: Is there a way to force the axes to be plotted ...
7
votes
2answers
345 views

Dealing with numbers too large for machine precision in Graphics

Graphics only supports machine precision numbers (i.e. number that can be converted to machine precision). Take for example ...
9
votes
2answers
504 views

Producing a bar chart with height and color determined by two distinct lists

I am trying to visualize a list of positive integers using a bar chart. In general, integers in that list may appear more than once. For example, I may have ...
5
votes
1answer
738 views

ErrorBars with BarChart, PlotLabels are not working?

In the Add Error Bars to Charts and Plots How To in the Mathematica documentation a function ErrorBar is given: ...
11
votes
5answers
2k views

Labeling a bar chart, changing how rotated labels are centered

I'm trying to label a bar chart with rotated labels see this simple example: ...
9
votes
2answers
1k views

Labels and tickmarks inside Frame

Is there a way to force Plot and related functions to place the tick labels inside, rather than outside a frame? For example, consider, ...
15
votes
1answer
1k views

Drawing Rotated views while ignoring the Bounding box

I am trying to make an animation of a rotating cube using the following code: ...
7
votes
1answer
771 views

Create a “perspective animation”

Inspired by How can this confetti code be improved to include shadows and gravity? I would like to create my new experiment/stimuli using Mathematica. The idea is to study how people move their eyes ...
6
votes
2answers
2k views

How to hide Box in Graphics3D?

I might be doing something stupid, but I can't see what it is. This simple example shows that I'm trying to hide the Box, but failing. (I tried it just once, in different positions, too.) The code is ...
3
votes
0answers
114 views

ErrorListPlot marker missaligned with error bar [duplicate]

Possible Duplicate: Point Renderings Slightly Off in Mathematica I'm using the ErrorListPlot function in the ...
12
votes
4answers
352 views

Arranging connector lines

Heike gave an absolutely wonderful answer to my question about arranging subplots around a main plot and including connector lines. This is the result: Starting from Heike's answer, what is the ...
17
votes
4answers
1k views

Subplots with connector lines

I am looking for advice from people who have more experience in this area on what is the best (simplest, least effort) way to create a graphic like the following: This is a rough mockup made in a ...
7
votes
3answers
707 views

Retrieving the ImagePadding in absolute units

Consider the following graphic: g = Graphics[Circle[], Frame -> True, FrameLabel -> {"one", "two"}] Retrieving the ...
22
votes
1answer
487 views

Is there an equivalent of FullGraphics for Graphics3D?

For 2D graphics, there exists the function FullGraphics to turn the stuff Mathematica generates automatically on Graphics (like ...
5
votes
3answers
518 views

Show[] combines my Graphics3D objects in an undesirable way

Thanks to those (Heike, Jens, MrWizard, and R.M.) who helped me yesterday with figuring out how to plot an EM wave. Now I am running into trouble with the Show ...
7
votes
1answer
1k views

Mathematica: Label specific vertices in GraphPlot

How can I label particular vertices in GraphPlot? And have the arrows space out accordingly, for the width of the label? I have Mathematica 7, but I think this question applies to all versions. ...
4
votes
2answers
583 views

How to add fill color to a 2D Graphics object?

Problem / background: consider the following code snippet. ...
6
votes
2answers
503 views
3
votes
4answers
278 views

What is the most efficient way to save a big graphic?

I want to generate a graphic using DiscretePlot[primePercent[x], {x, 10^10}, ImageSize -> Full, Filling -> None, Joined -> True] where ...
8
votes
1answer
7k views

Adding a point to an already existing graphic

This is just a follow-up of this post: Beginner 2D animation with maths equations Part of the code is: ...
3
votes
2answers
260 views

How can Magnify be forced to ignore the notebook's window width?

In a new notebook, I can illustrate how the action of Magnify is cut off by the window width: ...
5
votes
4answers
244 views
7
votes
2answers
311 views
4
votes
2answers
307 views

Export a Row or Column as an image

How could I export the following as a single image and set its dimensions ? ...
19
votes
7answers
3k views

How do you draw the plane on which two vectors lie?

Given two arbitrary vectors $\textbf{v}_1$ and $\textbf{v}_2$, how can I draw the plane which they span?
6
votes
1answer
405 views

How to fix the orientation and scaling of Graphics3D?

To visualize an eigenvector and value calculation I tried to display the eigenvectors (scaled by the eigenvalues) as arrows in a Graphics3D plot using Manipulate. The (symmetric) matrix is a function ...
3
votes
1answer
264 views
5
votes
4answers
309 views

Multiple colors in Graphics[] environment

There are other questions on the site that are similar to this one, but the answers provided didn't help me. I want to draw disks of different radii. Each radius is the absolute value of a variable, ...
6
votes
2answers
683 views

Fit an image within a Rectangle [] in Graphics

Based on the following Code (yet the white text in the image is added with PPT), I would like to have an image fit within one of the rectangle. For Example the image from there : ...
9
votes
4answers
1k views

Export Graphics[] without white edges

I am trying to generate & Export[] Image with the below code, but as shown in the images I get some white border around my rectangle. How could I export an images that stopes right at the edge of ...
7
votes
2answers
620 views

How to draw multiple coordinates on mathematica?

For example: How can I draw such kinds of coordinates? Thank you~
7
votes
4answers
1k views
20
votes
4answers
850 views

How can I specify the arrowhead size in printers points?

Is there any way to specify the size of an arrowhead in printer's points? I'm looking for something that would have similar functionality to AbsolutePointSize, ...
5
votes
3answers
463 views

Tile image on specific location without space between them [duplicate]

Possible Duplicate: How to combine images with the same dimensions in a grid? I would like to arrange images without any space between their edges as each piece is made to connect with ...
7
votes
2answers
428 views

Ideas on how to improve the rendering of the letter B in this 3D region plot?

I have been playing with the RegionPlot3D idea from this question and have been trying to approximate the Gödel, Escher, Bach logo, but I am a little bit stuck on how to improve the rendering of the ...
8
votes
1answer
423 views

Using NETLink.MathKernel.Compute() for graphics results fails with GraphPlot[]

I'm using MMA 8.0 to provide backend on a .NET application I'm writing. I am trying to use the high-level Wolfram.NETLink.MathKernel interface to export an image ...
14
votes
0answers
493 views

Undocumented syntax of FilledCurve [duplicate]

Possible Duplicate: Undocumented form for FilledCurve[] A nice trick to get the outline paths of letters is to use the PDF exporter/importer ...
16
votes
1answer
809 views

How can I share objects with dynamic content with non-Mathematica users?

Often when I construct some cool Manipulate[] function, I would like to share it with others—non-Mathematica users. Some software, notably Cinderella, ...
22
votes
1answer
851 views

Visualizing Rubik's Graph

After the August 2010 discovery that the diameter of the Rubik graph is 20, I wanted to make a way to visualize Rubik's graph. Since there are about $4.3 \times 10^{19}$ vertices in this graph, it is ...
6
votes
1answer
169 views

Inconsistent GraphicsRow behaviour

During the debugging of my previous question (somewhat related), I encountered this strange behaviour: when the global option Antialiasing is set to ...
9
votes
1answer
660 views

Antialiasing option behaves weird (polygon edges visible in ContourPlot)

When I set the Antialiasing option in Style, I get the followings: ...
7
votes
1answer
243 views

Why is the Locator snapping back to the original coordinates? How can I prevent this?

Take the following code: p = {3, 3}; Graphics[Circle[{5, 5}, 5], Epilog -> Dynamic@Locator[Dynamic[p]], Axes -> True, GridLines -> {{3}, {3}}] ...
12
votes
1answer
458 views

Generating a topological space diagram for an n-element set

Over on StackOverflow I asked a similar question for the n=3 case, but the answer given doesn't easily generalize. How can I make a diagram such as this: But for a general n-element space ...
10
votes
2answers
833 views

How can I get Overlay to position graphics according to coordinates?

If I draw graphics like this, I get exactly what I need: Graphics[{{Blue, Disk[{0, 0}, 10, {0, Pi/2}]}, {Red, Disk[{0, 0}, 3, {0, Pi/4}]}}] But I need to ...
23
votes
2answers
733 views

Is there a way to have Plot draw points on a function where the function is undefined as circles as in textbooks?

A very common feature of graphs of functions used throughout textbooks are simple indications, such as open circles, of the points at which a function is undefined. Is there a way to do this in ...