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
1answer
503 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
236 views

Scale label problem of multiple ListLogPlot graphs

Consider the following code: ...
2
votes
2answers
172 views

Cannot adjust inset to show at the top of the base graph

I'm trying to put an inset on top of a graph, the inset is also a graph. I'm using Inset within Epilog and the following command ...
2
votes
1answer
484 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
3answers
233 views

The same range on each plot in a grid

Suppose I have a bunch of graphics that I want to display in a grid: ...
2
votes
2answers
115 views

How to pad Background size in Style calls

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

How to share `ChartLegends` among multiple `BoxWhiskerChart`s in `GraphicsGrid`?

First, create two BoxWhiskerChart: box1 and box2 ...
1
vote
1answer
171 views

Help in Bifurcation Diagram

My dears, I need to plot a bifurcation diagram for the following non-linear systems represented by the next Mathematica code ...
1
vote
1answer
238 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
3answers
127 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
56 views

How to add more than one label to Histogram automatically

I have a huge data and I want to add two labels to the Histogram. the problem here is that the labels are calculated and added automatically to the histogram. for example if I have the following ...
1
vote
1answer
78 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
263 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
286 views

Error bar plot - no bars but rather point size determined by errors

Looking for a way to create an ErrorListPlot (x,y,error) with the radius of the PlotMarker ...
1
vote
1answer
126 views

Possibility of evaluating the expression within a NestList at each iteration?

I want to rotate iteratively a triangle about the same point, increasing for each iteration the length of its side in the same proportion and change the color of its sides. I came up with the solution ...
1
vote
1answer
242 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
167 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
1k 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
317 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
35 views

How to plot morphological stripe near the mouse-clicked position in an image? [duplicate]

I tried to use EdgeDetect and MorphologicalComponents to get the image edge elements. When I clicked on an image, I want the edge element nearby to be highlighted or plotted. Here is my code. Two ...
0
votes
1answer
106 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. ...
-1
votes
2answers
208 views

Plotting solutions of differential equations with different parameters [duplicate]

I want to plot x[t], when i manipulate w from 0.1 to 1.5. Here is what I've attempted, which does not work as expected. ...
-1
votes
1answer
805 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 ...
-4
votes
2answers
561 views

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

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