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

9
votes
0answers
84 views

Tube and CapForm

Bug introduced in 10.0.0 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? How can I fix this? ...
2
votes
2answers
59 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 ...
2
votes
0answers
61 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 http://en.wikipedia.org/wiki/Transition_metal_dichalcogenide_monolayers) using the ...
9
votes
2answers
348 views

In version 9 PlotLegends, how can I remove the strange edges that appear around LegendMarkers?

I'm running Mathematica version 9. I am using ListPlot to plot two sets of data. For each data set, I am using different ...
1
vote
1answer
58 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, ...
3
votes
1answer
90 views

Multiple animation in Mathematica

I have the following in Mathematica: ...
4
votes
2answers
166 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 ...
0
votes
0answers
81 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 ...
1
vote
0answers
61 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 ...
0
votes
1answer
42 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 ...
16
votes
3answers
968 views

Get x and z coordinate from an image and make a parametric surface

In this blog entry, this step is mentioned: I grabbed an image of a Peugeot wine glass from the web and used the Get Coordinates function to digitize its outline, which I fed to Interpolation to ...
16
votes
2answers
1k views

What is the best way to create a correlation matrix heatmap with values?

This may have been asked somewhere else, but I couldn't find an answer by searching. I'm trying to create a correlation table that colors the background behind the numbers as a heatmap. I've been ...
0
votes
0answers
61 views

Mathematica 10 Linux - no symbols when exporting in PDF

When I make a simple plot of Sin[x], right click and Save as PDF there are no text at all, only empty boxes (▯) instead. Plus, ...
0
votes
0answers
27 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 ...
4
votes
2answers
163 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 ...
5
votes
1answer
179 views

Adding arrows in curves

Let's consider the following case ...
6
votes
4answers
198 views

Plot a Point on Graph at Minimum

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 ...
11
votes
5answers
334 views
1
vote
1answer
48 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 ...
4
votes
1answer
102 views

Visualization/colorization of many outliers in a BoxWhiskerChart

Imagine a larger data set which I want to display using BoxWhiskerChart. ...
1
vote
2answers
58 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 ...
6
votes
3answers
140 views

Weird output of DistributionChart

I have a larger data set and want to display it using DistributionChart. ...
3
votes
2answers
145 views

Adding labels and numbers in axes

Let's see the following test case ...
9
votes
2answers
462 views

How can I draw a grid behind graphics without using Plot?

I want to a show simple vector summation but I don't know how to draw a grid behind the vectors. I am pretty sure I can do it with Mathematica but how? It should look like this:
1
vote
0answers
70 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 ...
1
vote
1answer
114 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
62 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 ...
5
votes
1answer
723 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 ...
1
vote
0answers
42 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
137 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 ...
6
votes
1answer
236 views

transparency in image used for texture?

Is there a way to set a transparancy channel in a raster image used for a texture in 3d graphics? this creates a raster image with a transparency channel: ...
15
votes
3answers
3k views

How to convert a 2D image into a 3D graphics?

I have an image I would like to make into a .dxf and to do this I need a Graphics3D object. Is there anyway I can do this? Can ...
3
votes
0answers
73 views

How can I export graph as PDF with metadata such as Title and Author fields

I want to export a figure from Mathematica in PDF format. Moreover, I want to fill Author and Title fields of the PDF. For example, to fill Author field, I use the following code: ...
8
votes
3answers
212 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: ...
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 ...
2
votes
0answers
201 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 ...
3
votes
1answer
48 views

Are there more pre-existed ColorFunction options?

I mean such as "DarkRainbow","Rainbow","BlueGreenYellow" and"NeonColors",If yes,Please tell me how to find them. Sorry for my poor English.
4
votes
1answer
152 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
1answer
129 views

Undocumented overload for Graph?

I stumbled (here, in the expression for the block diagram) upon a version of Graph that I don't see in the documentation over here. That documentation admits three overloads (the following are in my ...
36
votes
4answers
2k views

Point Renderings Slightly Off in Mathematica

The Mathematica code ...
4
votes
2answers
216 views

Short form of Graphics

Sometimes I want to investigate the structure of Graphics/Graphics3D which is produced by ...
7
votes
3answers
194 views
6
votes
2answers
166 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}] ...
9
votes
3answers
890 views

An inverted pyramid

I want to draw a pyramid approximately like this ...
24
votes
1answer
535 views

What is wrong with triangle PlotMarkers in v.10.0.0?

Bug introduced in 10.0.0 and fixed in 10.0.1 In Mathematica 10.0.0 we have built-in graphical triangle PlotMarkers. Let us look closer on them: ...
13
votes
1answer
208 views

Why does GridLines option fail with Function?

Bug introduced in 10.0.0 and fixed in 10.0.1 The Plot option GridLines can be specified either as a list of explicit values ...
7
votes
3answers
354 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$, ...
5
votes
1answer
225 views

Strange opacity behavior

I edited my question and included the code: here I make the general definitions for the parametric plots I have to do later (these are simply the definitions of the x and y coordinates of the points ...
3
votes
4answers
139 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
119 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 ...