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

-4
votes
1answer
21 views

Plotting various circles [on hold]

I want to plot various circles in the same graphic using the command Circle. I mean, something like: Does anyone has an idea?
18
votes
2answers
1k views

Generating convex polyhedron from face planes?

Suppose I have lists of normals and points for planes. There's a convex polyhedron whose faces lie on these planes and are bounded by plane intersections. What would be the easiest way to produce an ...
4
votes
4answers
263 views

Spiral roots, how?

I found this picture on the net, as I can play in mathematica
0
votes
0answers
43 views

How can I make a plot of integer lattice? [on hold]

I want to make a plot of complex plane with dots representing visible lattice points. I want the result represented somehow like this: ...
1
vote
1answer
67 views

White Edges Around Graphics Elements

Using the following code, I am able to generate a grayscale Voronoi diagram: ...
0
votes
1answer
31 views

More than one graphic in Graphics command [on hold]

another question regarding plotting. I'm sorry, but somehow it is superhard for me to use these. I have a Graphics plot and I want to add a Point to it. A circle is already working. But everything ...
2
votes
1answer
74 views

Barchart recognize time series data?

I can't seem to get Barchart to recognize TimeSeries data. For example, my data is: {{1891, 1}, {1892, 1}, {1897, 1}, {1898, 1}, {1903, 1}, {1904, 1}, {1905, 1}, {1908, 4}, {1909, 6}, {1910, ...
5
votes
2answers
117 views

Extruding a wierd 2D shape to make a prismatic 3D shape

I have the outline of a 2D shape defined by a periodic radius R[θ]. I would like to extrude this linearly to a prismatic 3D object that has my cross-sectional ...
2
votes
1answer
86 views

Export collection of plots to A4 pdf

Sometimes I want to Export a collection of plots or other Graphics to a pdf in A4 format. Right now I'm using a GraphicsGrid inside a panel which is an inset in a Graphics object. Here is an example: ...
1
vote
0answers
18 views

How to suppress mouse over error messages on graphics

How do I suppress these they are preventing me from getting coordinates. Here is the code to create the graphic if it helps. ...
0
votes
4answers
76 views

Family of Lines

I need to draw a family of lines connecting (a,0) and (0,b), where a+b=2, and determine an equation for the envelope of this family of lines. I need to do this in mathematica and don't know where to ...
1
vote
2answers
73 views

Controlling colors of points in ListPlot

I have a collection of points I want to plot using ListPlot[]. I would like each individual point to be a certain color depending on a key value that is based on a list separate from the points. As a ...
1
vote
1answer
108 views

Approaches to solving non-linear systems of equation with assumptions

The specific type of system looks as follows: \begin{align} (r-r')x+4d_1 x^3+4d_{12}xy^2 &= 0 \\ (r+r')y+4d_2 y^3+4d_{12}yx^2 &= 0 \\ \end{align} Where $r,r',d_1, d_2, d_{12}$ are all real ...
-1
votes
1answer
114 views
11
votes
0answers
215 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 ...
27
votes
2answers
2k 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 ...
68
votes
8answers
13k 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): ...
8
votes
3answers
551 views

How to ensure that Polygon[list] plots a simple polygon?

Consider the following code which plots a triangle. p = {{0, 0}, {.2, 0}, {0, .2}}; {Cyan, Polygon[Dynamic[p]]} // Graphics Then adding (for example) ...
20
votes
4answers
996 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: ...
38
votes
7answers
2k views

Character edge finding

The following line of code finds the edge of a character: ...
2
votes
0answers
25 views

Export PDF margins different in V9 & V10 compared with version 7

PDFs in version 9 and 10 have bigger margins than in version 7. I can't find any differences in the settings. I'm using A4 paper and it looks like version 9 might be trying to use letter size. ...
0
votes
3answers
303 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: ...
9
votes
2answers
921 views

Font sizes in graphics

I'm trying to find an explanation for the different sizes I'm seeing for fonts added to graphics in different ways, and haven't yet located an easy to understand explanation. Here's a minimal ...
2
votes
2answers
856 views

How can I get even steps on x and y axes in a plot?

I'm plotting the shortest distance from a point to a line using the following code ...
17
votes
4answers
4k views

ListPlot with plotmarkers determined by point

I am trying to build on a simple example here: td = Prime[Range[25]] dsk = Graphics[{Blue, Disk[]}] ListPlot[td, PlotMarkers -> {dsk, 0.7}] How can I make ...
6
votes
2answers
420 views

Transfer graphics from Mathematica to Word without loss of quality

I want some high-quality 2D graphics produced by Mathematica in my paper. My step-by-step operation as follows: First I make the plot, for example, ...
13
votes
2answers
1k 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 ...
0
votes
0answers
26 views

How to change a direction of a point after stroke the edge

Could you explain me how to made my point moves like enemies in xonix game, when the point strokes the edge? ...
6
votes
2answers
142 views

How do I get my spline based arrows to have rounded ends?

I would like to change the how the ends of the spline arrows in my figure are rendered to be "rounded", but ...
5
votes
7answers
662 views

How to draw a Circle in 3D on a sphere

The Circle function is strictly a 2D Graphics object, so that we cannot directly combine a ...
3
votes
0answers
71 views

Problem drawing a GeoPath polygon with GeoGraphics

I want to draw some polygons bounded with various geographic coordinates. For example, here is the code to draw a triangle between New York, Cape Town and Beijing. ...
3
votes
1answer
56 views

LineScaledCoordinate problem for exact coordinates

Edit: Confirmed bug. CASE:2326540. Still the case in V 10.1. Solution: Wait and use N meanwhile. I've faced this problem ...
9
votes
3answers
235 views

Problem with CurrentValue[“MouseOver”] when graphics are wrapped with Deploy

Bug reproduced in: V 9.0.1 - 10.1 Please take a look at following toy example: ...
9
votes
2answers
662 views

How to create these famous surfaces in topology with the desired color effects?

It was said such real objects of famous topological surfaces were plotted by the cooperation between mathematician Richard Palais and artist Luc Benard, and published as the cover page of Science ...
0
votes
2answers
78 views

Combine two functions in mathematica to get one image with two elements

I am trying combine this two functions into one piece in grid. ...
7
votes
1answer
241 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 ...
0
votes
1answer
150 views

Performance Issue When Using Manipulate

Any help would be appreciated! I've been attempting to manipulate the graphics for time t. We need to have Di set to 11.2, however when it is set to any value greater than .1, we see a great deal of ...
9
votes
2answers
175 views

How to make a ArrayPlot/MatrixPlot in polar coordinates?

in fact, I want to plot a image like: Fig1 the picture above is from a paper Zhou K.-J. et al. 2014 about ion up-flow of ionosphere in MATLAB there is a specialized function pcolor which could ...
5
votes
2answers
133 views

How to make a world map with a coloured ocean and transparent land surface?

I'd like to make a world map with a blue coloured ocean and transparent land surface (to be used later as an overlay). With: ...
12
votes
3answers
1k views

Finding a Concave Hull

I have a 3d clustered data: Is there any other way to get concavehull of 3D data points?
0
votes
1answer
93 views

Building a 1 page “Scorecard” in mathematica [closed]

I'd like to be able to generate an 11 x 8.5 "scorecard" for various data projects I am working on. Traditionally, I'd import all my data into Excel, put the data into worksheets, and then have a ...
6
votes
2answers
390 views

Don't understand why Mathematica is complaining about my Graph expression; how can I fix it?

The Tube in Arrow problem is fixed in version 10. Note that in version 10 Graph3D must be ...
0
votes
1answer
54 views

How do I apply a conditional append rule to plot randomly chosen points?

I'm working on an attempt at forming a sort of "Mandelbrot" set using Newton's method and randomly chosen points. Effectively I need to define a loop for Newton's method to determine whether my points ...
1
vote
1answer
146 views

Combining Mandelbrot and Monte Carlo

I'm trying to combine plotting a Mandelbrot set with Monte Carlo randomization to plot an equation using random points for complex number z, for the function $z^3-2z+2=0$. Below is the code I have ...
0
votes
1answer
58 views

cross point of intersecting lines [closed]

What is the easiest way to find the crossing point of two intersecting lines passing lets say through points line1 = {p1,p2}, line2 = {p3,p4}?
1
vote
1answer
93 views

Separate output screen; clearing (cleaning) output screen

Is there a way to split the screen so that the code is on top visible, and execution of code look at the bottom? Is there any way to clean the screen from previous runs, so that the result of ...
3
votes
0answers
26 views

EventHandler click event in Graphics[ ] object does not work properly after using Deploy [duplicate]

There is a problem clicking layered Graphics objects after using Deploy. For example, the code below works as intended with the Disk 'on top of' the Line. Click either object anywhere and EventHandler ...
3
votes
2answers
119 views

Draw and Quantity

I'd like to use Quantity in my graphics, but I can't figure out how to do it even for a very simple Circle. ...
3
votes
1answer
73 views

White Lines in Contour Plot and 3D Plot

This is a follow up question to the original question here (has a solution). I am plotting another different total potentials and for this particular case the repulsive potential is a rectangle (open ...