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

-1
votes
1answer
51 views

Rotate with Euler angles in Graphics3D [on hold]

I need to rotate with the Euler angle sequence: Yaw by $\psi$ around $z$ Pitch by $\theta$ around $y'$ Roll by $\phi$ around $x''$ I know of Rotate[] in ...
6
votes
1answer
167 views

Dipolar magnetic field lines inside a cylinder

I'm drawing the magnetic field lines of a rotating dipole (magnetic field distorded by emission of radiation). Currently, my Mathematica 7.0 code is fully working, but I'm having a constraint which I ...
0
votes
2answers
58 views

How to draw multiple cuboids on the same plot

I have defined a table ...
1
vote
2answers
90 views

Styling the edges of a graph according to the multiplicities of the edges

I used the following code to make a simple triangle, in which the nodes have different effects each other: ...
0
votes
0answers
53 views

How to simulate a homogeneous nucleation? [on hold]

From this topic, Animating a Voronoi Diagram, I can simulate heterogeneous nucleation. Based on Voronoi diagrams, how can I use Mathematica to simulate homogeneous nucleation?
2
votes
1answer
124 views

“ReliefMap” and “ContourMap” unable to download error

This question may be closed as "too localized". I post in the event other users have had this error and resolved it. The problem: inability to use "ReliefMap" or "ContourMap" options for ...
-3
votes
0answers
56 views

How to draw the pentagon or hexagon into the square size image [closed]

I have the image of square or rectangle sized i want to draw the pentagon or hexagon line in the image.
0
votes
0answers
36 views

How to change number form of Plot Legend in ListContourPlot? [closed]

I am creating a ListContourPlot from some very large values. I would like these numbers to be written out in scientific notation (8x10^8, etc.) I've tried the following code: ...
8
votes
1answer
129 views

How to make a Nebulabrot?

A Nebulabrot is a generalization of the Buddhabrot, a fractal rendering technique related to the Mandelbrot set that sort of looks like a meditating buddha. The Buddhabrot rendering technique was ...
8
votes
3answers
183 views

Part of an Image cut/lost when exported to EPS file

When making .EPS image files for publication, I tried to assemble several Graphics by Grid. For example, suppose I have: ...
0
votes
1answer
58 views

Count participation of variable list

I have the directed edges of a graph given by a list of variable (vertex) pairs. ...
0
votes
0answers
52 views

The graph of a piecewise function [closed]

Let $$f(x)=\begin{cases} n,\quad\text{if }\quad n<x<n+\frac{1}{n^3}, \\ 0,\quad\text{if }\quad n+\frac{1}{n^3}\leq x\leq n+1 , \end{cases}$$ Using mathematica, I attempted to draw the graph ...
3
votes
2answers
79 views

How do you stack 2D graphics into a 3D graphic? [duplicate]

Suppose you have a series of 2D graphics that depend on a parameter. For example, ...
7
votes
2answers
163 views

Poor/wrong sampling in 1D DiscretizeRegion of splines?

Bug introduced in 10.1 and persisting through 10.2 or later Context In relation to this question I have would like to use splines to define a ...
9
votes
1answer
84 views

HighlightImage does not work consistently with Line

Bug introduced in 10.2 HighlightImage is supposed to work with graphics-primitives like Line and ...
6
votes
3answers
403 views

Drawing a trihexagonal tiling

I am trying to draw a trihexagonal tiling of the form: Original image. using mathematica. I attempted to begin by using the result given in this Stackoverflow Q&A. However, I couldn't figure ...
1
vote
1answer
42 views

Visualisation of feedback loops in a directed graph

Here are the nodes (vertices) of my graph: ...
6
votes
2answers
154 views

Mathematica-exported PDFs placed in Illustrator documents keep disappearing

This question is regarding interoperability between Adobe Illustrator and Mathematica. Illustrator has a File → Place... function which can insert complete figures inside Illustrator documents. ...
12
votes
1answer
302 views

How can we show the boundary of a WordCloud shape?

WordCloud can arrange the words inside a shape. ...
0
votes
1answer
40 views

Combining Plot and ListPlot using appropriate colours [closed]

I have Plot and ListPlot and I want to combine the using Show: ...
3
votes
1answer
164 views

How to fill curves with a color gradient?

I would like to produce a graphic like this but with a continous color gradient between the outer curves. Is it possible to achieve this by using the Filling ...
3
votes
1answer
124 views

Export rotate bug in Mathematica v10

I think I've stumbled upon a bug in Mathematica v10.0.0 on linux. Rotate does not seem to play well with export. If I run: ...
3
votes
2answers
122 views

Why do I need to apply DiscretizeRegion to a derived region to visualize it?

What are the design principles, or other explanations, as to why one needs to apply DiscretizeRegion to obtain a graphical representation of a derived region, ...
3
votes
1answer
49 views

Temporarily setting built-in function options at lower levels

Slightly extending rcollyer's handy helper (originally "BlockOptions") to TemporarilySet system function options via an operator ...
3
votes
1answer
129 views

How can you get the area of a region from an image?

Suppose we have a square of side "L" m, How can I calculate the hatched area, if the corners of the square are centers of circles. It can be generalized to any region? edit: This is the result I ...
4
votes
1answer
66 views

Remove the extra white-space padding introduced by implicit use of Inset in GraphicsColumn

Simple Context This is a question about understanding how Inset really works and how GraphicsColumn and the like automatically ...
0
votes
2answers
69 views

Not seeing line defined in an Epilog option

In the following code, the line defined in Epilog option of my 2nd parametric plot doesn't show up in the content pane of my ...
5
votes
1answer
87 views

How to draw curvy arrow at the edge of a cylinder

I would like to draw a figure similar to the attached here. What I ended up with is the following figure. I use the code: ...
-2
votes
1answer
156 views

How to get the coordinates of points within an image?

How can I get the coordinates of an image, and make Mathematica draw the image from the coordinates found? I am interested in just the outlines of the regions. Here is an example of the kinds of ...
1
vote
3answers
159 views

Draw arrows around an ellipsoid

I want a thin ellipsoid-like figure with an arrow around the ellipsoid. To draw an ellipsoid I used the following code: ...
1
vote
1answer
57 views

General method for extracting graphics primitives from a plot [closed]

I often have to plot experimental data that is very noisy, and sometimes I try a bit of image processing on it. For example (using a test function) I can gaussian filter it: ...
1
vote
2answers
79 views

How to plot any 7 point shape in 2D i.e. star [closed]

I am new to Mathematica and I was wondering if anyone knew how to just plot simple shapes with at least 7 points minimum in 2D. What are the required steps I would need to start this? I believe I have ...
0
votes
1answer
83 views

Creating a residual histogram from discrete 3D data and function [closed]

Hi I have this data and my function on Mathematica: ...
2
votes
1answer
57 views

How to overplot Graphics on GeoGraphics? [duplicate]

I have a parametric plot and a GeoGraphic of the same size and I want to overplot them. Show doesn't seem to like to use both at the same time though it will display either. How can I put regular ...
5
votes
3answers
161 views

Removing specific regions in post-processing of graphic

I'd like to create a graphic that looks like the following using RegionPlot with Mesh: I have three different plots and would ...
0
votes
0answers
34 views

Finding intersection of two infinitely long lines using points [duplicate]

EDITED In the Find intersection of pairs of straight lines problem, it is assumed that line are intersected by default and the purpose is to find the intersection points. In the present problem, two ...
0
votes
0answers
13 views

Graph color to cylindir surface [duplicate]

l = 95 P = 300000 R = 15.8 h = 1.1 K = 2.9*10^10 a = 30.1 b = 1 c = Pi/6 d = 1/15.8 M[X_, [Phi]_] := (-((12*PR^4)/(Kh^3)))Sum[((4/(Pim))Sin[((mPi)/l)*a]Sin[((mPi)/l)b](4/(Pin)) ...
0
votes
0answers
24 views

Find Multi-variable intervals with given constraints in complicated expressions

I am working on finding variables' intervals that satisfy some conditions and subject to some relations. At first, these variables have intervals pre-defined as follows: $$0 < \alpha, \beta, ...
3
votes
1answer
64 views

Adding FrameLabels but without showing a Frame using GraphicsRow

I'm trying to create a set of plots that share similar axes (axes in the general sense, I'm actually using Frame). I'd like to have the text describing the axes plotted to the left of the first plot ...
2
votes
1answer
108 views

Drawing lines automatically between two different plots

I try to create a special plot where several lines have to be generated automatically between two plots at very precise coordinate. My goal is to make something exactlly like But I want to do it for ...
2
votes
1answer
51 views

Using Epilog to increase text size [closed]

I have a plot with labels positioned using the epilog function for convenience. I would like to increase the size of axes labels within the epilog function but I haven't managed to figure out a way to ...
7
votes
3answers
400 views

How to put an imported image in a Disk?

The image below contains various ( lightblue filled ) circles ( made with the Disk function ), I want to fill them with an external image ( for example of a face ) such that each circle contains the ...
3
votes
2answers
73 views

Manipulate a 2D point controlled simultaneously by Locator and its coordinates

I'm trying to have a point in the plane which can be manipulated both using Locator as well as inserting its $x$ and $y$ coordinates. My attempts at doing this are: ...
0
votes
2answers
144 views

Random non-overlapping disks in a square

I've found a nice code snippet by @belisarius from this question, that I'll reproduce here for reference: ...
2
votes
2answers
73 views

Aligning Density an Contour Graphics

In radiation therapy, we display radiation dose as an isodose contour plot overlain on density plot describing the patient geometry (CT data). Here is a simple example (the material grid is voxelated ...
8
votes
0answers
102 views

Wrapping text around pasted graphic

I would like to use Mathematica to create all my documents for my high school math class. I cannot, however, find a way to copy and paste a diagram (let's say from Geogebra) and then place it where I ...
2
votes
1answer
149 views

Using codes to replicate drawing tools in Mathematica

This might seem very obvious but I'm on the verge of losing all the annotations I've made on a graph because I can't figure a way to save it after using the drawing tool to add a few extras to the ...
3
votes
2answers
120 views

Positioning axes labels

I need to change the position of my axes labels such that the y-axis label is in the middle and parallel to the y-axis. I'd also like the x-axis label to be in the middle of the x-axis rather than ...
0
votes
1answer
37 views

EdgeForm with Graphics

I want my figure to have an edge and I am playing around with EdgeForm[Thick], putting it in different places. My figure is: ...
3
votes
0answers
58 views

Simple ways to implement vector dilation

Suppose we have a singly connected but not necessarily convex polygon. Something like shape = CountryData["Chad", "Coordinates"]. Is there a simple way to ...