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

-1
votes
0answers
88 views

How can I make a progress bar for an Interpolation and an integration of an interpolation? [closed]

I'm a complete newbie to Mathematica and I've just been fiddling with things to try to get the hang of it. I don't have any serious maths to do for a little while. I figured out, kind of, how to do ...
3
votes
2answers
68 views

Displaying a locator the moves smoothly and updates some dynamic variables

I want to select a point on a graph and display a function of the coordinates value. Asking here a related question I learned to use Setting. Consider the example, where I display the coordinate ...
4
votes
3answers
65 views

Graphics updating from inside double-Fold-iteration within Manipulate

Normally, when using Manipulate[expr, controls, options], the graphics updating should be carried out at the very end of expr. But now I encounter a situation ...
1
vote
2answers
64 views

Interpolating and plotting a surface for a sparse set of 3d data points

I have a set of $(x,y,z)$ coordinates which sparsely cover a surface, e.g.: data = {{51, 15, 0.1}, {300, 11, 0.99}, {140, 22, 0.123}, {54, 12, 0.66}, ...}; What ...
6
votes
2answers
123 views

Plot3D constrained to a non-rectangular region

I would like to make a nice 3D graphic of a parabolic bowl, with a cylindrical rim. If I do the following: Plot3D[x^2 + y^2, {x, -3, 3}, {y, -3, 3}] I get a ...
0
votes
1answer
60 views

Module Returns Two Values for Plot; I need to Color them

This is probably a very stupid question, but I've been fighting with it for quite awhile now. So suppose you have a module: ...
2
votes
1answer
59 views

White spots in ListDensityPlot

I have a problem with ListDensityPlot. I have some data on an irregular grid. I try to plot them with ...
4
votes
3answers
80 views

label all vertices in polygon plot

Let's say I have the following plot Graphics[{Opacity[0.2], Rectangle[{0, 0}, {4, 4}]}] And I want to label all vertices on the graph to give their coordinates, in ...
2
votes
2answers
106 views

Coloring a shape according to a function

I would like to create a $2D$ shape, say an ellipse, where each point in the ellipse is colored according a RGB function, so at point ...
-4
votes
0answers
59 views

How to remove triangulation?

Is there some quick way to recover from a 3-dimensional triangulated polygon the same polygon without triangulation (= delete "bad" edges)?
2
votes
3answers
122 views

Plotting the deformed shape of a rectangle

I want to plot a rectangle using graphics : rc = Graphics[{Blue, Rectangle[{0, 0}, {1, 1}]}]; and add a deformation function to it: $$\chi(\mathbf ...
6
votes
2answers
115 views

Finessing labels in BarChart

BarChart is aggravating. Why don't the following correctly display both percentages and labels? (1) ...
0
votes
0answers
38 views

Is there a way to add arrows along a parametric curve inside a manipulate function? [duplicate]

I cannot find a good way to add arrows along a parametric curve that I used NDSolve to get. I have written everything inside ...
-3
votes
0answers
68 views
0
votes
1answer
109 views

How to make Graphics3D object with different colors

Here is a sample Graphics3D object: ...
1
vote
2answers
53 views

How to place Plot Information within a Text box on top of a Bar Chart?

How could I place a text box on the top of a bar chart where the top line would have a larger font size than the second line? My Data: ...
0
votes
0answers
106 views

Hue-like Legend spectrum with bright colors for a plot

I use Hue to color ArrayPlot: ...
2
votes
4answers
121 views

How to improve the quality of the ListPlot output

I need to plot massive data stored in external ASCII files. Below is the Mathematica code I use for this job: ...
4
votes
1answer
152 views

Building a molecule viewer: aesthetic rotations

I am working on building a molecule viewer in Mathematica and am running in to problems with controlling rotation of the molecule (which is rendered as a ...
0
votes
1answer
61 views

Bar Chart Labels Mystery

I have some data which I want to plot in a simple bar chart: ...
14
votes
2answers
249 views

Twirl Image Transformation

I am looking to reproduce the functionality of Photoshop's "Twirl" filter, which twists an image that originally looks like this (pulled from this page): Into this: Ideally, I'd like it to ...
2
votes
3answers
93 views

How to Export the current graphic state of a dynamic module?

After manipulating the graphics in a dynamic module like this: Synchronizing manual rotations for multiple Graphics3D outputs? How do I get at the current graphic so that I can Export the image? ...
2
votes
0answers
61 views

Graphic Unexpectedly Shrinks in Size [closed]

I have posed this question to someone inside Wolfram and he did not understand why I have the following problem. I am building a graphic to demonstrate similar triangles in a geometry class to prep ...
7
votes
3answers
113 views

Using a List in PlotLabel which goes beyond width of ImageSize

My PlotLabel goes beyond the width of the ImageSize. The label is generated into a List form ...
0
votes
1answer
61 views

Combining Histogram and SmoothHistogram

How can we draw Histogram and SmoothHistogram together for two data sets?. I'd like to show the first data set using ...
0
votes
0answers
55 views

Combining Graphics & ContourPlot using Show

I was recently experimenting in Mathematica and was combining graphics and a contour plot and discovered the order of elements in show matters. Why would the order matter here? ...
0
votes
2answers
102 views

How to maintain a smooth surface in CDFs while playing? [duplicate]

I created a CDF for viewing the Möbius Band, and its generation. https://www.dropbox.com/s/e3af0xelbbqjfhd/Cinta_Moebious_Rafa.cdf But: 1.- When it´s PAUSED the surface is soft and you can see with ...
1
vote
3answers
124 views

Plotting 2D image of functions of several variables

I have a function $f: \mathbb{R}^4 \to \mathbb{R}^2$, and I would like to plot the region $f([0,1]^4)$. Writing $f_1(s,t,u,v)$ and $f_2(s,t,u,v)$ for each coordinate of the output I tried using ...
1
vote
1answer
67 views

Quality control when exporting graphics into JPG

If I export a graphics from Mathematica to JPG format the image quality in JPG is visibly lower than that in Mathematica. Is it possible to control and eventually increase the quality of the exported ...
0
votes
0answers
87 views

How to add something like a shadow to my resulting figure?

after plotting this function: ...
2
votes
2answers
88 views

Using BarChart and pastel colors is there a method to get the labels to be the same color as the bar?

I am using version 8 and I have the following code: ...
5
votes
1answer
75 views

How to center the labels on a bar chart so they are directly under their respective bar?

I am using v8 and have the following code: BarChart[#, ChartStyle -> "Pastel", ChartLabels -> (Rotate[#, Pi/3] & /@ #2)] & @@ Transpose[totals4] ...
2
votes
1answer
158 views

Distance between 3D curves

I would like to determine the distance bewteen two representations of the Lorenz Attractor. I have two 3D representations for different initial conditions and I want to calculate the distance between ...
1
vote
1answer
80 views

position image combined with other graphics

Is there a way to directly transform an image? This works but seems klunky : Graphics[{Translate[ Raster@ImageData@image, {x,y}], .. other graphics objects .. }] ...
0
votes
1answer
67 views

How to calculate the area of a listplot [duplicate]

I need to calculate the area enclosed in a two-dimensional listplot and following an answer to a similar question I tried this way: ...
-1
votes
0answers
35 views

Converting a graphics to image produces errors after multiple runs

I am trying to write a simple program for drawing a given image using transparent polygons, triangles in this case. I start with a random triangle, make random changes to it and check if new image is ...
0
votes
0answers
81 views

Frame and white background not working (all other colours are fine)

Though my question my be related to this one, it doesn't look like it can easily be solved in the same way, so I hope not to be double-posting. I am trying to insert a framed number/text into a ...
23
votes
7answers
1k views

How do I draw a Circular Graph colored like this in Mathematica?

I must plot some data in radians and would like to use this image as a background to that graph. Although it looks good the lines are degraded in image form. thus the reason for this question. Can ...
5
votes
2answers
118 views

Why does a translation in the horizontal direction affect PointSize?

I'm running Mathematica 9.0.1 under Mac OSX. Not sure if this is a bug or whether I'm not supposed to apply a GeometricTransformation to a list containing graphic ...
5
votes
1answer
56 views

Combine absolute and relative (scaled) coordinates

I am using Inset to add an Epilog to a plot. The position of the images (in my case: framed numbers) can be specified as an ...
4
votes
4answers
125 views

Filling and Shading an Harmonic Curve

Suppose I have an equation plotted as shown: ...
7
votes
2answers
159 views

How to draw a contour diagram in Mathematica?

This answer at Math.SE contains a neat contour diagram created using Mathematica: What Mathematica functions I can use to draw diagrams like this?
2
votes
1answer
81 views

Manipulating plot of random iterated function system fractal

I'm generating the Sierpinski Gasket by implementing a chaos game in mathematica. What I'd like to do is create an interactive manipulation with a slider, whereby moving it forward, plots all the ...
1
vote
0answers
40 views

Unexpected error message from GraphPlot evaluation [closed]

(Running MMA 9 on Mac OSX 10.8.3, MacBook Pro, 16GB RAM) I am trying to display a graph with GraphPlot. I want a few of the edges to be purple, and the rest red. I figured out a way to do this that I ...
6
votes
1answer
135 views

Does it make sense to ask for the color of a Graphics3D “voxel”?

Say I generate some Graphics3D object, e.g.: Graphics3D[{Red, Sphere[{0, 0, 0}, 1], Blue, Sphere[{1, 0, 0}, 1]}] Does it make sense to ask for the color of a ...
-1
votes
1answer
63 views

How to set image DPI? [duplicate]

For publications usually images in TIFF format are required in high resolutions. Where can I change settings for images that are being saved (using RMB click "Save Graphic As..."), so I don't need to ...
1
vote
0answers
49 views

Anti-aliasing won't work when there is PlotStyle command

I've found that if there is PlotStyle command in the input, anti-aliasing will not work. However if the Style code is ...
7
votes
2answers
97 views

How to show wireframes on imported Object / Mesh (.obj file)

I've managed to import a Wavefront (.obj) file and store it in a variable like so: ...
4
votes
2answers
85 views

Graphics3D: the box vertices do not coincide with triangle

I have drawn a triangle using Line graphics primitive and Graphics3D function: ...
5
votes
1answer
102 views

Preventing cell height adjustment when rotating 3D graphics

I have a large dataset of scattered x,y,z coordinates. I am trying to use ListPointPlot3D to identify outliers in 3D. This involves generating a plot and then ...

1 2 3 4 5 13