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
2answers
111 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
160 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
171 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
91 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
103 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
85 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
53 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
52 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
82 views

How can I get information about PlotMarkers? [closed]

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

Tubes on spiral - Graphics 3D

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

Fancy 3D Graphics

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

BarChart EdgeForm not producing correct colors

EdgeForm is not producing correct colors for the borders of my bars. My code: ...
0
votes
1answer
63 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
35 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
370 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
113 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
159 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 ...
28
votes
1answer
337 views

How to speed up TextJustification 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
122 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
45 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) ...
13
votes
1answer
191 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
111 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
177 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
177 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
112 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
100 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
611 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
93 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
44 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
119 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
74 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
283 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
281 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
246 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
480 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. ...
1
vote
1answer
85 views

Remove color artifacts in overlay of several Graphics objects?

I am trying to create an animation with a graphic of an arm that can bend at the elbow. For this purpose I created the following two images: hand1 and hand2. I load the images with ...
1
vote
1answer
173 views

How to create a vertical (smooth) Histogram on the y-axis of a function graph for an uncertain x?

This is my first time posting a question in StackExchange. I have encountered a certain problem and I can't seem too find a solution. Just a word of caution, I am kind of an amateur when it comes to ...
8
votes
1answer
153 views

Creating a certain image (3D shadows, highlighted intersections)

I would like to learn how to code within Mathematica the following picture: I tried using ...
5
votes
1answer
200 views

How to show the projections of 3D orbit on the three primary planes

Perhaps this question has been asked before but even though I searched the site I did not find what I want. The code is rather simple: ...
0
votes
0answers
41 views

How do I change a 3d bspline curve to a polygon based graphic? [duplicate]

I have a graphics image generated with bsplines: Graphics3D[Tube[BSplineCurve[pts], 2]] I want to export this to a .stl file. To do so I know I need to modify ...
2
votes
0answers
184 views

Intersecting RegionPlots [closed]

Does the Mathematica graphics system have any concept of intersecting regionplots? I've found about intersecting graphics but not regionplots so far. For example, if I want to show the intersection of ...
1
vote
0answers
41 views

Formatting the output of SubstitutionSystem to create a Cantor set [closed]

I want to create a Cantor set using SubstitutionSystem, and plot it appropriately. This is the best I've been able to do so far: ...
2
votes
1answer
86 views

Dynamic update of displayed quantities on a Plot within manipulate

I'll admit that I only skimmed some other threads about this. They seem rather complicated in contrast to my simple problem. I have two lines in space defined by a two-by-two coefficient matrix. I ...
7
votes
1answer
315 views

Exporting 2D & 3D graphics for use in Adobe Illustrator

I have recently (perhaps since Mathematica Version 10?) encountered a change in how PDF images are saved and how they behave after being loaded into Adobe Illustrator (v16.0.4 under Mac OS X 10.10.5). ...
1
vote
1answer
66 views

Labelling Vertices of a GraphicsComplex

I cannot figure out how to label the vertices of a GraphicsComplex, for example ...
1
vote
1answer
123 views

Three dimensional plot with CountryData

I wish to visualize a 3D layout of country data using the following code. How can the output be improved as currently it looks smeared to one side. ...
3
votes
2answers
85 views

How to specify different colors for edges going between the same two vertices in Graph?

Here is an example: edge1 = Property[1 -> 2, EdgeStyle -> Red]; edge2 = Property[1 -> 2, EdgeStyle -> Blue]; Graph[{edge1, edge2}] This does not ...
3
votes
2answers
128 views

how to use filling in Graphic plots

i'm going to plot some angles in Trigonometric circle by using Graphic command how can i use filling axes by different colors in this program or color between the angles? ...