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

0
votes
0answers
84 views

Is it possible to have more than two vertical axis in Mathematica 2D plots? [duplicate]

Is it possible to have more than two vertical axis in Mathematica 2D plots? This is possible for example in matplotlib: http://matplotlib.org/examples/axes_grid/demo_parasite_axes2.html EDIT: the ...
7
votes
1answer
158 views

Getting the coordinates of GeoDisk[] and similar Mathematica 10 GeoObjects

I'm a big fan of the new Mathematica 10 geographic capabilities and functions such as GeoDisk[], GeoCircle[] and others. One limitation of these functions, however, is the transformation of the actual ...
1
vote
1answer
147 views

Finding the Tangent to the Curve [duplicate]

I could use some help with this. This is my first time using mathematica and im trying to get use to the coding. Find an equation of the tangent to the curve and graph the curve and tangents. ...
13
votes
1answer
437 views

Morphological Filtering in 3D to produce skeletons

Context As a follow up of this question and that answer, I would like to identify the special lines separating 3D watersheds. These are useful in the context of astronomy to identify the ...
12
votes
4answers
555 views

Using an Image as the Fill/Texture (not background) of a Plot (not polygon)

Is it possible to use an image, rather than a color, or ColorFunction, as the filling for a plot? For instance, I want to make a plot using ...
2
votes
1answer
129 views

How to correctly map values onto an arrayplot

I want to understand why the order of the text is reversed from what it should be? If I compare the first and second results, I see that the {1,1}, {2,2},... diagonal is going down the wrong diagonal. ...
6
votes
1answer
321 views

Constructing primitive cell using information from ChemicalData

I would like to construct a primitive cell (figure shown) and possibly the two-dimensional layout (figure from here) using the following input. Any clues as to how this can be done? ...
1
vote
1answer
78 views

Resize GraphicsGrid

Here's a GraphicsGrid after evaluate cell: Here's a GraphicsGrid after I resize it: I then run Export["test.pdf", grid] and get this PDF: Needless to say, ...
2
votes
1answer
202 views

Mathematica exported movie quality

I am generating an animation using: anim = ListPlot[X] Export["anim.mov", anim, ImageResolution -> 800, Antialiasing -> True] The .mov file obtained this ...
3
votes
1answer
147 views

Multiple animation in Mathematica

I have the following in Mathematica: ...
4
votes
2answers
240 views

Mathematica Plot and Movie Problem

I have imported two .mat files from Matlab. One containing the x coordinates and another y of a curve at different instants. So the .mat files are matrix and each row belongs to coordinates at a given ...
2
votes
2answers
92 views

LegendMarkerSize value equivalent to special character size in LegendMarkers

I am trying to find the equivalent LegendMarkerSize value to the size specified for special characters when using LegendMarkers. So far I found LegendMarkerSize 14 generates symbols close to 22 set ...
0
votes
0answers
171 views

Generate Matlab figure

I am currently working on a project. Because of lack of communication between my team mates and I, I did most of the work (and the graphical figures) in mathematica. Now, I have to pass all the ...
8
votes
5answers
423 views

Calendar view outline

How to compute the outline of a calendar month like this D3 example. (D3 is a functional language built on JavaScript developed at Stanford and used by New York Times to deploy interactive ...
1
vote
0answers
95 views

Parts of Plot3D / ListPlot3D obscured by non-transparent tick labels (v10.0.1)

I am running v10.0.1 on Win7 64. There appears to be a problem with rendering 3-d graphics. For example: Plot3D[Sin[x] Cos[y], {x, -π, π}, {y, -π, π}] Parts of ...
1
vote
1answer
67 views

Plotting polyhedra faces with polygons removed from the interiors of the faces

I have dozens of vertices and dozens of faces which is why I use the v={};i={} and Graphics3D and ...
8
votes
2answers
265 views

Graphics3D not rendering Ball as a filled object

Bug introduced in 10.0.0, persists though 10.1 Mathematica V10 introduced the built-in function Ball. The documentation page, ...
2
votes
1answer
213 views

How to highlight image edge with spline/bezier when mouse moved over?

It is known that EdgeDetect can find image edges in an image. Suppose the image edges consists of sets of lines. Can the detected edge line near the mouse pointer be highlighted as spline/bezier when ...
0
votes
0answers
54 views

Can any function give a draggable closed curve on feature edge of an image like “EdgeDetect” found?

I've posted the question, but hardly describe it clearly, now let me show it this way: I don't know the algorithm for "EdgeDetect". Suppose the detected image edge consists of single line pixels at ...
6
votes
1answer
1k views

Adding arrows in curves

Let's consider the following case ...
7
votes
4answers
384 views

Finding the point of minimum distance between two parametric functions

I have two functions re and rm, for which I computed the minimum distance between them. Now I would like to add a point at the ...
4
votes
2answers
224 views

How to highlight the feature edge of an image with draggable select lasso?

As shown in the picture, i want to know if it is possible to: 1) recognize the feature edge like face,nose,eyes,mouse,etc. 2) highlight the feature edge with draggable select lasso, 3) return the ...
1
vote
1answer
85 views

Graphicsrow title [duplicate]

I made the following graphic with Mathematica 9.0: Does anybody know how to put a title on the top of the whole graph? (not in each single plot). Basically I used ...
19
votes
6answers
948 views

Around the Clock

I want to produce with Mathematica something like this Or this 12 hours should be arranged in a pleasing ("rotated") style around / within a rectangle. I don't ask for the hands - depending on ...
1
vote
2answers
65 views

Is there a way to logically test an optional color input inside a module? [duplicate]

Suppose I create a Module that is expected to return a graphic that I will later use in a plotting procedure (e.g., with ...
3
votes
2answers
315 views

Adding labels and numbers in axes

Let's see the following test case ...
1
vote
0answers
132 views

graphicsgrid white space

I'm working with mathematica 9.0 making a graphic grid. Here's my image: I'd like to know if it's possible to make the two cells from right only one and if there's some manner to rid of the white ...
2
votes
1answer
261 views

graphics grid legend

I'm working with mathematica 9.0 and I want to make a graphic grid containing 3 different plots. My problem is that when I use plotlegend to label the plots the legend does not show up or the left ...
11
votes
1answer
160 views

Tube and CapForm

Bug introduced in 10.0.0 and fixed in 10.0.2 I am using version 10 to draw tubes. With the CapForm set as Butt the first pipe is as expected but the bent pipe has one rounded end. Is this a bug? ...
1
vote
1answer
202 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 ...
12
votes
5answers
470 views

Joining ordered set of points with splines in spiral

I have a collection of points ...
6
votes
3answers
179 views

Weird output of DistributionChart

I have a larger data set and want to display it using DistributionChart. ...
4
votes
1answer
147 views

Visualization/colorization of many outliers in a BoxWhiskerChart

Imagine a larger data set which I want to display using BoxWhiskerChart. ...
1
vote
0answers
52 views

How to select default graphics device for charting?

Is there a way to tell Mathematica to use a specific graphics device for charting? My laptop has two graphics devices; an on-board Intel chip and a Nvidia graphics card. I noticed in Mathematica's ...
6
votes
1answer
1k views

How to generate a cartoon of a face

I want to use Mathematica to generate a cartoon of a face. For example, some thing like this: I think it can be done using Mathematica, but I really don't know how to do it. How can it be done, and ...
8
votes
3answers
1k views

Creating a foggy image

I want to create foggy images like this one (produced with Adobe Photoshop): Not at least familiar with Mathematica's Image processing capabilities, the only ...
10
votes
4answers
342 views

Rotated Rectangles

I would like to produce an image similar to the upper half of this graphics by Victor Vasarely. All I could produce so far is this dilettante image: ...
7
votes
1answer
188 views

Fractal dimension of a large networked molecular system

I am trying to determine the fractal dimension of this complex biomolecule (figure attached). Any clues as to how this can be done. In trying to determine this quantity, I wonder how its ...
4
votes
1answer
107 views

Are there more pre-existing ColorFunction options?

Such as "DarkRainbow", "Rainbow", "BlueGreenYellow", and ...
5
votes
1answer
255 views

Creating a three dimensional fullerene molecule

How do I modify the following program to create a nice coloured molecular plot of C60 or fullerene as shown in the attached figure This figure was retrieved from ...
4
votes
2answers
243 views

Short form of Graphics

Sometimes I want to investigate the structure of Graphics/Graphics3D which is produced by ...
9
votes
3answers
917 views

An inverted pyramid

I want to draw a pyramid approximately like this ...
7
votes
2answers
216 views

A question regarding “DiscretizeGraphics”

I want to find the volume of a torus torus = RevolutionPlot3D[{2 + Cos[t], Sin[t]}, {t, 0, 2 Pi}] ...
3
votes
4answers
323 views

drawing core-shell structure [duplicate]

I am pretty new in Mathematica drawing. I am trying to draw a core-shell structure, it means a core sphere with a shell sphere, like this It can be in 2D or preferentially in 3D. Does someone can ...
2
votes
2answers
218 views

How to specify units for ImageSize Option? [duplicate]

I'm trying out making a CDF and I want it to print within the margins of Letter paper. There is an ImageSize option that I would like to set; some plots will be in ...
2
votes
1answer
124 views

ListContourPlot is blank

This is probably very simple. I want to do a simple ListContourPlot. ...
2
votes
0answers
218 views

Generalize WASD Function First Person Viewing

How might I generalize the following WASD question such that it works with any Graphics3D object and includes q and ...
5
votes
3answers
224 views

Accurately distort graphics

I would like to accurately distort this plot of $\sin(x^{1/2})$ (and others like it) so that the wavelengths are evened out (ie - "inverse-square root" it). I should like to do the same to "de-log" ...
4
votes
7answers
2k views

What is the equation to plot a vertical line?

Please help. Trying to find area between three curves, e^-x, x = 2, y = 1. Can't find out how to plot x = 2. Don't want to use ...
7
votes
3answers
538 views

How do I plot the images of oriented curves under complex transformation?

I'm working on a complex transformation sketch that I'd like to create via mathematica. I'm working with the function $$w=z^2\tag{0},$$ where its real and imaginary parts are $u=x^2-y^2$ and $v=2xy$, ...