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
52 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 ...
3
votes
2answers
120 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
55 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 ...
12
votes
0answers
315 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
109 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
39 views

Filling option failing when used with ListLogLinearPlot

As mentioned in this question the following filling seems to work well. ...
2
votes
1answer
140 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
140 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
112 views

Graphics 3D - manipulate

Basing on this code: ...
1
vote
0answers
45 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
152 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
80 views

How to plot many 3D lines together

Here is a small data sample: ...
9
votes
4answers
197 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
98 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
149 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
143 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
78 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
92 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
74 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
50 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
50 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
77 views

How can I get information about PlotMarkers? [closed]

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

Tubes on spiral - Graphics 3D

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

Fancy 3D Graphics

I define following functions: ...
7
votes
1answer
73 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
38 views

BarChart EdgeForm not producing correct colors

EdgeForm is not producing correct colors for the borders of my bars. My code: ...
0
votes
1answer
62 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
32 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
270 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
105 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 ...
2
votes
1answer
149 views

Drawing lines between matching numbers in a two column table

I have two lists of numbers of the same length. I want to display the numbers in a table with two columns, one list in each column. I also want to drawn lines between any number in the first column ...
21
votes
0answers
235 views

How to speed up PDF export in Mathematica 10

Based on this question: - Version 7 print environment - I set up two 10 page test documents in version 7.0.1 and version 10.1. The version 7 document exported to PDF in 4.18 seconds whereas the ...
2
votes
2answers
104 views

Using color gradients in Graphics3D

I would like to use the thermometer color gradient in Graphics3D. Taking an example, I have the following: ...
2
votes
0answers
42 views

Why is an imported plot different from the saved one?

I have a question concerning the importing of previously saved graphics. So I drew a plot in Mathematica and saved it by right clicking on it and saving it ("save as..."). When I open this (.pdf) ...
12
votes
1answer
164 views

Plotting an additional axis with ticks

When preparing non-standard graphs, it is common that one needs an "extra" axis, parallel but displaced from a traditional axis. This might happen in many cases: When you want to plot two curves ...
2
votes
2answers
91 views

How to use GraphicsGrid with ListPlots that have a PlotLegend?

Here's a contrived example of what I'm trying to do. Basically, I want a function to return some object that has two plots next to each other (or one on top of the other), both large, and both with ...
0
votes
2answers
151 views

how to use a ready function in your code for panning and zooming on 2D plots? [duplicate]

As I said before for the time being, I don't want to use Mathematica as a programming tool. I'm just using it as a calculater to compute integrals, solve equations, ...
4
votes
2answers
172 views

How to remove black edges between spherical shell?

I am interested to know how to make the concentric shell smoother. This is what I have now: This is the code i used to generate that image: ...
0
votes
2answers
103 views

How do I put a data point in a 3D graph? I need it in (0,0,1) [closed]

This is what I have now ...
4
votes
1answer
92 views

Rotate imported images which are inset into a Graphics container and then overlapped?

The methods given as answers to this question do not seem to work here. I suspect it is because of my use of Inset function. Consider two .png images hand1 and ...
24
votes
2answers
579 views

Efficiently generating 2-D Gaussian random fields on the sphere

Context A couple of years ago I posted this question for an efficient code to generate an n-D Gaussian random field (sometimes called processes in other fields of research), which has applications in ...
3
votes
2answers
84 views

Can I control the order of overlay in Filling?

The default ordering is "in the y direction". In this example I would like the red regions to overlay the blue regions. ...
2
votes
1answer
35 views

Increasing the font size in the Vertexlabels of GraphPlot

I have the following code and corresponding output: GraphPlot[Table[i -> Mod[3^i, 5], {i, 20}], VertexLabeling -> True] I wish to do two things: 1) ...
3
votes
1answer
108 views

ContourPlot has extra mesh

There is an odd white mesh that appears on top of any contour plot I make. ContourPlot[x + 2 y, {x, 80, 300}, {y, 50, 100}] Any ideas on how I get rid of this? ...
0
votes
0answers
57 views

ViewVector requires click before behaving with Graph3D (Also, viewing 3D subgraph “head on.”)

I want to produce 3D subgraphs that looks "head on" at the remaining vertices, held in their original positions via VertexCoordinates. The default viewpoint is not ...
-1
votes
1answer
64 views

Remember Plotting Command [closed]

I used a command in another computer to obtain a surface without using any input more than the command. It returns me a surface like this: Anyone knows the command or commands that let me graph ...
9
votes
4answers
262 views

Superimposing ListContourPlots on each other

I have two ListContorPlots that I would like to plot on top of each other for easy visualization. I tried using Overlay for ...
5
votes
1answer
277 views

I change a single constant and the simple script suddenly takes forever to complete

I writed a code to display the Dragon Curve fractal, and I reached my goal. The algorithm works by taking the previous two points and then adding the following one by making a 90 degrees turn left or ...
5
votes
4answers
232 views

Make spheres same size in Row

I have different 3D graphics containing spheres, for example pic1=Sphere[{0,0,0},1]; pic2={Sphere[{-1, 0, 0}, 1], Sphere[{1, 0, 0}, 1]}; I would like to show ...
15
votes
2answers
447 views

How to generate a closed B-spline curve?

I wrote a function called deBoor using the Cox-de Boor algorithm to generate a B-spline curve. ...