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

6
votes
2answers
171 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
317 views

How can we show the boundary of a WordCloud shape?

WordCloud can arrange the words inside a shape. ...
0
votes
1answer
43 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
181 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 ...
5
votes
2answers
169 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: ...
4
votes
2answers
129 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
51 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
134 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
83 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
73 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
95 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
167 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
163 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
59 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
86 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
86 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
70 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
164 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
35 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)) ...
3
votes
1answer
67 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
114 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
53 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
407 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
79 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
157 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
79 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
106 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
172 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
158 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
42 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
61 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 ...
0
votes
1answer
44 views

How can I move the x-axis label beneath (instead of at the end of) the x-axis?

I borrowed this code from a Wolfram demo. I looked at several answers to the general question of how to move the x-axis label from the end of the x-axis to beneath it (use ...
2
votes
1answer
119 views

Help me export high-resolution TIFF figure

I have generated a figure in MMA by ContourPlot3D. How can I export this figure in high-resolution TIFF format(say, 1200 dpi for lines, 300 dpi for halftone and ...
5
votes
1answer
97 views
5
votes
2answers
174 views

How to export images in EPS format that can be opened in CorelDraw

I am preparing a paper. The journal requirements are odd: only eps files for pictures are accepted. All pictures I have drawn in Mathematica and exported in eps format in the usual way: ...
4
votes
3answers
105 views
3
votes
1answer
75 views

How to get the size of a specific image in the front end?

The title pretty much says it all. One possible point of confusion is that this question is not limited to items with head Image. I don't know what is the ...
4
votes
2answers
86 views

How to scale multiple graphics to preserve relative sizes?

I'm looking for a simple way to make the displays of different Graphics expressions accurately reflect their relative sizes. (By "simple" I mean that it does not ...
4
votes
3answers
220 views

Drawing a ladder graph with Line and Table/Array

I want to programmatically draw a ladder graph like the one below: I'd like to use Table to dynamically add steps. My (lame) attempt so far: ...
13
votes
1answer
135 views

How to retrieve current FaceForm?

The current colour in a Graphics object can be retrieved using CurrentValue["Color"] for use in Dynamic stuff. Example: ...
0
votes
1answer
66 views

Plot some ordered pairs on the Cartesian plane? [closed]

Can Mathematica show me a coordinate grid ( x-y plane) with some ordered pairs plotted on the plane? Or even better, some complex numbers represented as vectors on the real-imaginary plane.
1
vote
1answer
46 views

How to save all images in GraphicsGrid?

I have a 2X2 images. How to save all the images at once while using GraphicsGrid ? when I try the save graphic option only one image is saved
4
votes
3answers
161 views

How to produce a matrix plot from 3 matrices a, b and c following RGBColor[a[[i,j]],b[[i,j]],c[[i,j]]]?

I am trying to produce a single-plot from 3 matrices, let's say: ...
8
votes
3answers
195 views

How to solve for the intersection points of two ellipses?

I have a parametric equation of two ellipses as follow $\begin{cases} x=a_1 \text{sin$\theta $}+b_1 \text{cos$\theta $}+c_1 \\ y=d_1 \text{sin$\theta $}+e_1 \text{cos$\theta $}+f_1 \\ ...
1
vote
1answer
59 views
1
vote
1answer
126 views

How to make program for phase portrait?

I need to add a phase portrait to my program. The program is below, and I need to create a graph like the one in the picture. My step size needs to be 5, from x0,y0 = 10 to x0,y0 = 50. ...
4
votes
2answers
164 views

How to get rid of the background tiny crosses when using Graphics?

I am plotting very tiny arrows. For large arrows there is no problem but for small ones, one can see little crosses in the arrow positions. I do not want to see this crosses. I just want to see no ...
0
votes
0answers
33 views

Color Gradient on points using ErrorListPlot

I am having some difficulties getting a value-dependent color gradient on points with ErrorListPlot. I am starting with a list looking like ...
10
votes
3answers
193 views

Adds a rug representation to plot

This question came to me when I read How convert list of numbers to list of points on x-axis? @Mr.W suggested Interlacing a single number into a long list for the question. @Artes provides a very ...