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

2
votes
0answers
57 views

Does the VerticalCallout algorithm in PieChart work correctly?

This manufactured example is typical of many real world cases where we have thin slices of the pie: ...
2
votes
1answer
245 views

Coloring with Hue for a function on a lattice grid

I wish to color a 2-dimensional lattice grid according to the value of a function at each lattice-node. More specifically, if I have 9 angles in a 3x3 array, ...
2
votes
2answers
635 views

Using ChemicalData to make molecule graphics

I would like to take the acetone $((CH_3)_2CO)$ and chloroform $(HCl_3)$ molecules that Mathematica's chemical data provides, and plot them together. I want to show how chloroform can hydrogen bond ...
2
votes
1answer
373 views

Changing default range for x- and y-axis in ListPlot3D

How do I change the default values for the x- and y- axis in this example without altering the z-axis values? For instance, I want the x-axis to follow a range based on "x= 0.01 i+3" (not just i) , ...
2
votes
1answer
380 views

define the range of Longitude from 0-360 in the World plot from CountryData

How can I change the Longitude range to 0-360 in the such plots? ...
2
votes
1answer
207 views

Scale label problem of multiple ListLogPlot graphs

Consider the following code: ...
2
votes
1answer
308 views

Use output from Plot3D as an object in Graphics3D that I can transform

I'm trying to draw up an optical system where I can show an example of wavefront error on an exit pupil. It would be great if I could take the results of a 3D function from Plot3D and use it as a ...
2
votes
2answers
105 views

How to pad Background size in Style calls

When highlighting text using Style and Background, as in ...
1
vote
1answer
224 views

Potential hill simulation

I attempted to simulate the motion of a particle approaching to a potential hill. The particle should experience a force of -1/r^2, if the equation for the ...
1
vote
1answer
164 views

GUI of a Karnaugh Map

I intend to implement a three-variables Karnaugh map with the following code. There are two points I failed to figure out. How to remove the outer double-line border? How to change the toggling into ...
1
vote
3answers
101 views

How to limit only two “0 and 1” strings for an xor implement?

I tried to implement some logic gates for a series of "0 & 1" strings, just like and, or, nand, nor and not listed below. How could I limit xor only accept a two strings list as its argument? ...
1
vote
1answer
63 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
1answer
145 views

How to reverse the direction of the y axes on Graphics

Question related to this one, except I need the same for the Graphics. Lets say I have the following drawings: ...
1
vote
1answer
175 views

Part::pspec error returned when using a ListLinePlot ColorFunction variable as list index

In ListLinePlot, I'm attempting to construct my own ColorFunction for coloring points differently based on a third dimension of data not plotted to a specific axis. However, ColorFunction only uses ...
1
vote
1answer
112 views

Exporting a Table of Graphics into Individual Files [duplicate]

The command Table[Polt[Sin[k x],{x,1,10}],{k,1,30}] generates a list of graphics. I want to export each list item as an individual jpg file, named according to ...
1
vote
1answer
303 views

Making a screen icon by Mathematica

Is it possible to make within Mathematica an image file to be used as a screen icon? Could you kindly give an example?
0
votes
0answers
38 views

How do I plot cities on a Map? [duplicate]

Right now, I have the 20 cities with the most population in the world, given by the lines of code ...
-1
votes
1answer
71 views

Finding intersection and graphing

1) How do I find the intersection of f[c_] := y^2 - 2 x^2 (x + 3) == c ((y + 1)^2 (y + 9) - x^2) between the plots of f[0] and f[2] I tried plugging-in numbers. ...
-5
votes
2answers
481 views

How can I draw a picture like this? [closed]

How can I draw a picture like the following using Mathematica's graphics primitives?