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
vote
1answer
252 views

Basins of attraction of equilibrium points

The Henon-Heiles potential is the following V = 1/2*(x^2 + y^2) - y*(1/3*y^2 - x^2); which has four equilibrium points ...
1
vote
2answers
104 views

Ploting horizontal lines in a ListLinePlot?

Hello i have made a graph with a oscillating behavior but i need to highlight the maximum value of the oscillation because i will use that value like a threshold and I need to put a horizontal line in ...
1
vote
2answers
69 views

Formatting a complex ArrayPlot

I want to produce the following ArrayPlot programmatically: To produce the leftmost grid, I tried this: ...
1
vote
1answer
356 views

Overlay Rectangle on a ListPlot

I have a ListPlot of 100 data points in the range of 0 and 1. Now I'm trying to find a way to overlay (four) rectangles onto the listplot in 0.25 steps horizontally. Essentially I just have BinLists ...
1
vote
1answer
1k views

How to rotate the z label in 3D plots

Let's take the following simple and funny case ...
1
vote
2answers
640 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: ...
1
vote
1answer
449 views

How to crop graphics outside PlotRange with Show? [duplicate]

Is there an option or method to prevent Graphics from being displayed outside the PlotRange region? The problem is illustrated ...
1
vote
2answers
364 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 ...
1
vote
2answers
371 views

DateListPlot FillingStyle problem

In the following query, If the option PlotStyle->{Red,Blue} is inserted it works but FillingStyle->{Red,Blue} does not: ...
1
vote
1answer
123 views

Three dimensional plot with CountryData

I wish to visualize a 3D layout of country data using the following code. How can the output be improved as currently it looks smeared to one side. ...
1
vote
1answer
99 views

How can I mark a point on a slider control?

I have a Slider control inside a Manipulate which spans some range of values, say from 0 to 10, like in: Manipulate[ Sin@x, {x, -2 Pi, 2 Pi} ] I would like ...
1
vote
2answers
116 views

How to plot a finite number of vectors?

does anybody knows how can I plot one or two vectors? (I don't want to plot the vectorial field)? My target is to plot the electric field produced by a circle on a point and show how the point moves. ...
1
vote
2answers
191 views

Rolling Disk Animation

I am trying to create an animation in Mathematica of a rolling disk outside a disk of equal radius. The following coding is what I have tried but without the one circle staying in a fixed position I ...
1
vote
2answers
126 views

How to make legends in Graphics?

To make an equilateral hexagon, here is my code in mathematica: ...
1
vote
4answers
386 views

Mapping Contour Plot onto ListPlot3D (or by using color variations) [closed]

I am trying to overlay a contour plot I have created on a ListPlot3D graph. I have seen a few questions answered on this website that answer my basic question. ...
1
vote
2answers
129 views

Draw Multiple Polygons Given Their Vertices

Hi I have a very simple question but I haven't been able to find a set answer. How would I draw a bunch of polygons on one graph. The following does not work: ...
1
vote
1answer
183 views

Error message: Coordinate index 0 is out of range for the enclosing GraphicsComplex

I am unable understand following error message: Coordinate index 0 is out of range for the enclosing GraphicsComplex. How to fix it? Attached data here: pts and polygons. See also end of question. ...
1
vote
1answer
309 views

Intersecting/Overlapping Image Elements Counts?

I have what I believe should be a relatively easy problem to solve that I have not been able to find an elegant solution for. I need to compare two binary 2D images and count if any of the elements ...
1
vote
2answers
787 views

Projection of curve 3D (x,y,z) on the x-y plane

I have a following systeme : \begin{equation} \left\{ \begin{array}{rcr} (\beta+\frac{1}{2}\delta^{2})\nu_{1}(u)-\delta\nu_{2}(u)+\nu_{3}(u)& = &0\\ ...
1
vote
1answer
365 views

GatherBy and two conditions

I have a list of 4 dim points, given by ...
1
vote
2answers
791 views

Multiple curves plotted with different colours [duplicate]

I am trying to use ColorFunction for 2 functions on the same plot. I only want the cubic equation to change colour. ...
1
vote
2answers
1k views

Cubic Splines Functions

I have this set of three data points and want the natural cubic spline functions for them: dat = {{-.0247500, .5}, {.3349375, -.25}, {1.101000, 0}}; I tried: ...
1
vote
3answers
2k views

How to fix vertical axis scaling across multiple plots?

I have a collection of plots, all of which have the same horizontal-axis range, but different vertical-axis ranges. These ranges differ not only in the absolute locations of their maxima (...
1
vote
2answers
311 views

Why is Text in an Image cut off?

I want to create a long, skinny Image containing only text. This makes a square image of the default size. ...
1
vote
2answers
50 views

Colour bar for contour 2D graph [duplicate]

How could I plot the colour legend for my 2D contour graph ...
1
vote
1answer
157 views

Move a point along a curve

I am trying to implement the de Casteljau algorithm to trace a point along a Bézier curve. I already have the Bézier curve in place given by the control points ...
1
vote
2answers
77 views

Updating ParametricPlot3D code from Getz and Helmstedt book to use V10.3 features

I purchased a version of Graphics with Mathematica, Fractals, Julia Sets, Patterns and Natural Forms, by Chonta Getz and Janet Helmstedt, written in 2004. Really fun book. I'm looking at the ...
1
vote
4answers
132 views

Plotting animated point on a polar plot

How can I animate a point on a polar curve? I have used Animate and Show together before in order to get the curve and the moving point together on the same plot, but combining the polar plot and the ...
1
vote
2answers
148 views

Styling the edges of a graph according to the multiplicities of the edges

I used the following code to make a simple triangle, in which the nodes have different effects each other: ...
1
vote
1answer
442 views

how can I change the length/size ticks in a framed plot?

Err...Let me make clear the meaning of "the length of coordinate notation/marker". suppose I have frame1 by ...
1
vote
1answer
156 views

Changing the width of BarLegend with Contour argument

Bug exists in 10.0.2 Is it possible to change the aspect ratio of the BarLegend in Mathematica? The option LegendMarkerSize, ...
1
vote
2answers
101 views

Using expressions in Text

I want to use Text to add some labels to a graph and was wondering if it is possible to use expressions inside Text? Here is a MWE of what I am trying. ...
1
vote
2answers
128 views

ParametricPlot - Problem with ColorFunction

I am unhappy with the following mapping: ...
1
vote
1answer
94 views

Adding a legend to a MatrixPlot

I have produced this MatrixPlot: Rows refer to countries and columns to ranks. Row 1 refers to Norway with many 1 ranks, row 15 to Greece with many 15 ranks. Other countries are inbetween. I would ...
1
vote
3answers
439 views

Visualizing data on a world map - flexible record format

I have a list of members of a team, and I want to create a visualization on a world map. I want to plot them on a map, to see some clustering. The fields are: ...
1
vote
1answer
2k views

Animate curve parametric plot on a surface

I have a surface s = Plot3D[{x,y,F[x,y]},{x,-1,1},{y,-1,1}] with $F$ predefined, and a curve ...
1
vote
1answer
180 views

Remove overlapping red and green color

How to remove overlapping red and green color regions, leaving only red ones?
1
vote
1answer
884 views

List plot joined with stair steps instead of diagonal lines

What's a simple way to plot a list of points so that they're joined with stair steps instead of straight lines between the points? I'd imagine something like... ...
1
vote
1answer
161 views

Appropriate application of plotstyle directives

I am attempting to style a Plot in which all of the lines are Thick and I have selected the colors manually: ...
1
vote
2answers
212 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
1answer
160 views

Statistical analysis of data-list with recurring x-values

I have a list of data as follows with repeated x-values: ...
1
vote
1answer
151 views

How to export a plot into a file?

I am trying to save some graphics into a file, and it seems impossible. ...
1
vote
1answer
2k views

Problem with transparency when I export an eps file

I have the following simple Mathematica code: ...
1
vote
1answer
145 views

Is there an easy way to specify an arbitrary two-dimensional Polyomino tiling in Mathematica 8.0?

Is there an easy way to generate an arbitrary two-dimensional Polyomino tiling: http://en.wikipedia.org/wiki/Polyomino? Specifically, I would like to generate an array of integer coordinates, for ...
1
vote
1answer
275 views

Using Mathematica or WebMathematica to develop interactive, crowdsourced timeline visualizations

I aim to develop a series of timeline ZUI visualizations which will display a set of events similar to Wolfram's own Timeline of Computable Knowledge, but that can also handle crowdsourced uploading ...
1
vote
1answer
53 views

Building function where the output is graphic [closed]

I want to build a function, where the inputs are points and voronoimesh, and points. But, the output would be a graphics parameter. the code is following: ...
1
vote
1answer
77 views

Rasterize and Graphics, size difference

I am writing my own TreeForm function and for this I want to make sure that framed text boxes in Graphics do not overlap. First, ...
1
vote
1answer
138 views

Transform a 3D objects to binary 3D matrix [closed]

Suppose that we have an unknown 3d object and we need to estimate it. We suppose that the object is inside a grid as below and we can do some test to eliminate the cubes or"voxel" which are not a ...
1
vote
1answer
93 views

How can I plot a sector of an ellipse using the central angle and not the Eccentric Anomaly?

It would appear that the Disk function, when asked to produce the sector of an ellipse between two angles treats those angles as Eccentric Anomalies (i.e. arguments ...
1
vote
2answers
120 views

Graphics 3D - manipulate

Basing on this code: ...