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
3answers
96 views

Grid changes FrameTicksStyle font size

I have a contour plot that I'm trying to organize into a grid using Grid. But Grid changes the ...
0
votes
0answers
34 views

How to put n circles on a sphere [duplicate]

I have a piece of code that generates a circle on a sphere, but the problem is, this code creates only one circle. How can I change it in order to create n circles on the same sphere? Do I have to put ...
10
votes
3answers
276 views

Custom edge style (e.g. brush stroke, writing ink, etc.)

I would like to draw a graph with Mathematica in such a way that it looks like a handmade drawing or painting. To be more precise, is there a way to set a custom edge style such that it looks made ...
3
votes
1answer
108 views

Integration of angular distribution along cartesian axis

I am plotting an anisotropy distribution function as color coding on the surface of a unit sphere with this code: ...
0
votes
1answer
55 views

Adjusting components of the MatrixPlot

I have the following code which yields the figure attached: ...
8
votes
2answers
306 views

How can I use words/letters as pixels in an image?

I'd like to take the text of a novel or whatever and arrange it in a way that forms an image. Essentially recreating these works from Postertext. . I'm mostly looking for ideas regarding a ...
1
vote
2answers
120 views

Ploting horizontal lines in a ListLinePlot?

Hello i have made a graph with a oscillating behavior but i need to highlight the maximum value of the oscillation because i will use that value like a threshold and I need to put a horizontal line in ...
2
votes
2answers
89 views

mesh vertex coloring

So I created a mesh like this: mesh2 = ToElementMesh[FullRegion[2], {{1, 10}, {1, 10}}, MaxCellMeasure -> 1.]; and want to plot it, coloring the squares: <...
5
votes
1answer
123 views

How to remove edges of HalfPlane

Bug introduced in 10.0 and fixed in 10.4.0 EdgeForm[] does not work. ...
7
votes
0answers
89 views

Why is 13 the smaller height dimension of a Graphics?

It seems that you cannot get a Graphics image with a height dimension less than 13. Trying to draw something and then asking for the ImageDimensions of the resulting Graphics, you will get three ...
0
votes
1answer
86 views

Why do I get an empty plot? [closed]

I have the following code: ...
13
votes
0answers
204 views

Is there any way to export vector graphics with shading?

This has irked me for a while as I really feel its a significant shortfall in Mathematica's abilities but maybe I am missing something. I would like to export simple graphics with shading in a ...
1
vote
0answers
47 views

Combining Manipulate and NDEigenvalues [closed]

I think there may be a quick solution to this problem which I can't seem to fix at the moment. The question is how do we eliminate the error in the following ...
1
vote
2answers
181 views

Plot $\arg(z)$ in an Argand diagram and display the angle

I'd like to ask you about the way to show the $\arg(z)$ annotation about the angle. My point is to show $\frac{2\pi}{3}$ and $\frac{5\pi}{6}$ on the image. What I mean: Is there any way to ...
0
votes
1answer
73 views

Plotting two functions in one graph [duplicate]

Plot[2x, {x,0,4}] Plot[x^2, {x,10,12}] How do I merge these two graphs into one graph without the range {4,10}?
3
votes
1answer
196 views

Animating N points

So I'm trying to create an animation of N interacting particles in two dimensions confined in a box. Generating the data is fine and it's being stored in a text file with two columns for each particle;...
5
votes
2answers
360 views

How can I insert an EPS file exported from RegionPlot into MS Word?

I generate a figure using RegionPlot and then Export it as "EPS". When I insert this picture ...
3
votes
1answer
870 views

Plot a function for different parameters

Suppose I have a function that I want to plot for several values of a parameter all in the same window. For instance the function $f$ defined as ...
0
votes
1answer
60 views

Graphics with different dimensions

I'm trying to have two visualize the vectors $(1,2)$ and $(2,1)$. Then, I wrote: Graphics[Arrow[{{0, 0}, {1, 2}}]] and ...
1
vote
1answer
100 views

How can I plot a sector of an ellipse using the central angle and not the Eccentric Anomaly?

It would appear that the Disk function, when asked to produce the sector of an ellipse between two angles treats those angles as Eccentric Anomalies (i.e. arguments ...
0
votes
0answers
55 views

ParametricPlot that worked in Mathematica 9 stops working in Mathematica 10

I've updated to Mathematica 10 and I am trying to plot the solution of a system of ODEs and I'm using exactly the same file that used to work in Mathematica 9, but now when I want to plot the solution ...
4
votes
2answers
153 views

How to take something from DelaunayMesh and similar family of functions

I was looking at this question here and I tried the suggested idea by Anton Antonov to use DelaunayMesh It will look like this: ...
1
vote
1answer
58 views

Streamplot in one direction

R gives explicitly the seeding points and I want the stream lines to be drawn in one direction only, outside the circle ...
13
votes
0answers
457 views

Circle with negative radius?

Why does this work: Graphics[{Circle[{0, 0}, -Pi/4]}] But this doesn't? Graphics[{Circle[{0, 0}, N[-Pi/4]]}] Telling me: ...
9
votes
1answer
123 views

A bug in Rasterize?

I plot a straight diagonal line and then simply rasterize it. Consider what happens (Mathematica 10.2 on Windows 7 x64): ...
0
votes
1answer
43 views

Filling option failing when used with ListLogLinearPlot

As mentioned in this question the following filling seems to work well. ...
4
votes
2answers
191 views

Ploting a parallel graph for an animation

I am sorry that my attempt to obtain a fully functional plot as I want failed badly because I am not able to integrate the features to the graph. Here is my simple code: ...
3
votes
2answers
152 views

Determine distance between two lines in an image

I have the fallowing image: http://postimg.org/image/qv7q9geuh/ In this image there are 5 more or less vertical peaks in total. Let the x-axis be the horicontal axis and y-axis be the vertical axis. ...
1
vote
2answers
126 views

Graphics 3D - manipulate

Basing on this code: ...
1
vote
0answers
52 views

Graph equivalent of GraphPlot's MultiEdge style?

I like the default display of Graph much better than that of GraphPlot, but I do not see how to turn off the use of multi-edges ...
3
votes
1answer
254 views

Circular crop: extract non rectangular parts of an image

I want to extract a part of an image. For example, let's start with something like the following image: I would like to apply some image processing to get this result: I have tried to ...
0
votes
1answer
82 views

How to plot many 3D lines together

Here is a small data sample: ...
9
votes
4answers
231 views

How can I delineate the outline of a complex shape?

I have a picture of a lake as follows: And I want to delineate the outline of the lake. I binarized the picture and obtained img: ...
0
votes
2answers
118 views

How to create a mirror-symmetrical list

My data file can be found here: data data = Import["mnl.out", "Table"]; First we remove the headers ...
2
votes
0answers
166 views

Copy/Paste of a plot leaves whitespace

I'm trying to copy Mathematica figures into word, but when I do, I get tons of extra white-space for some reason. Either standard ctrl-c - ctrl-p or "copy graphic" does this. I understand that I ...
4
votes
1answer
190 views

Drawing a RegionPlot but for data instead of a function

I am trying to draw something similar to RegionPlot, but instead of functions I only have data matrices. For example, I have the following 3 pieces of data (...
0
votes
1answer
99 views

How to I plot a vector and a line on the same graph?

For example I want to plot the vector <7, 20> on the same plot as the line {t, 6t+10}
1
vote
1answer
112 views

How to Discretize Tube

Is there a way to outline text? In this topic,The BoundaryDiscretizeGraphics can Discretize a Text unexpectedly,It's amazing me,so as a same method I want to ...
0
votes
1answer
91 views

3D object on 2D pattern - how to adjust?

I want to re-create this pattern (apart from arrows which play only role of direction indicators; black line is a Sin/Cos function): I came up (for now) with this solution (code below). How to ...
0
votes
1answer
56 views

Recommended way to style rectangles in drawings [closed]

With the drawing pallette I can create free-form graphics, but the built-in styling options only go so far. Obviously I can create an image somewhere else and then paste it into graphics box, but ...
2
votes
2answers
53 views

Line graphics opaqueness issue [closed]

When I plot with Line[] and Opacity[.2] where the lines cross \ darkens, I would like to be able to plot a consistent opaque ...
2
votes
1answer
88 views

How can I get information about PlotMarkers? [closed]

ChartElementData["PlotMarkers"] ...
0
votes
1answer
135 views

Tubes on spiral - Graphics 3D

Now I am working on something like this: ...
7
votes
1answer
279 views

Fancy 3D Graphics

I define following functions: ...
7
votes
1answer
91 views

How do I stop resizing in Plot3D upon mouse click?

This has always bugged me and wondering if there is a fix. When I evaluate a Plot3D I get a graph as expected. However, when I click the graph with the mouse it resizes to a smaller size. I can ...
2
votes
1answer
62 views

BarChart EdgeForm not producing correct colors

EdgeForm is not producing correct colors for the borders of my bars. My code: ...
0
votes
1answer
65 views

Graphics3D evaluation not completing [closed]

I have a list of cuboid centers, and I want to plot them. I am using the following code, but the evaluation never completes. How can I get it to work? ...
1
vote
0answers
36 views

Misalignment of plot points when adding error bars [duplicate]

Following the second solution from Plotting Error Bars on a Log Scale on how to add error bars on a ListLogLinearPlot I tried to change the error bar indicators ...
2
votes
3answers
448 views

Plot Two Circles and color their difference

I am trying to plot two circles with radius 1 and another with radius 9. Both are centered at $(0,-1)$. I then want to color in the distance between the circle of radius 9 and the circle of radius 1. ...
1
vote
1answer
117 views

Put error bars in specified plots spots in a graph?

Hello again i have the next problem: i have done a very nice graph and i need to incorporate the standard deviation on graph but i only need to put those error bars in just some plots on the graphic ,...