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

5
votes
1answer
116 views

PlotStyle according to PlotRange

I have the function Hypocycloid[{R_, r_}, θ_] := {(R - r) Cos[θ] + r Cos[θ (R - r)/r], (R - r) Sin[θ] - r Sin[θ (R - r)/r]} For, e.g., R=5 and ...
1
vote
2answers
78 views

Updating ParametricPlot3D code from Getz and Helmstedt book to use V10.3 features

I purchased a version of Graphics with Mathematica, Fractals, Julia Sets, Patterns and Natural Forms, by Chonta Getz and Janet Helmstedt, written in 2004. Really fun book. I'm looking at the ...
5
votes
3answers
252 views

What is causing these artifacts in RegionPlot3D?

I have a simple program like this: ...
0
votes
1answer
43 views

ListPolarPlot does not allow PolarAxes->True or PolarGridLines->True? [closed]

I am running the personal version of Mathematica 9 on a MacBook Air with OS 10.10.5. When I try to activate PolarAxes->True and/or ...
3
votes
1answer
135 views

Creating a custom color plot with tones of colors

Here is a sample set of data ...
4
votes
4answers
282 views

Show intersection points between a curve and a line [duplicate]

I'm pretty new to Mathematica. I'd like to show the intersection points in my graphic. These are my inputs: ...
15
votes
2answers
348 views

How to export textures?

Is there any object geometry format for which Mathematica supports the exporting of textures for external (non-Mathematica) use ? If not does anyone know of work arounds? All the texture primitives ...
2
votes
1answer
54 views

Scaling in “GraphicsGrid” command

I want to plot four ellipses on the same graphics, along with some vectors and disks. I am using the Graphics command to create the arrows, ellipses and disks, and ...
-1
votes
1answer
63 views

Jumping from one dimension (1D) to two dimensions (2D) Part II

Here is a sample data file data = {{-10,3,1},{-7.5,12,3},{-1.5,5,2},{2,4,4},{3,7,4},{6,9,5},{7,1,5}, {8,3,1},{9,12,2},{10,8,5}}; The first element of the list ...
0
votes
1answer
71 views

Jumping from one dimension (1D) to two dimensions (2D)

Here is a sample data file m = {{-10,3,1},{-7.5,12,3},{-1.5,5,2},{2,4,4},{3,7,4},{6,9,5},{7,1,5}, {8,3,1},{9,12,2},{10,8,5}}; The first element of the list ...
5
votes
1answer
175 views

Graphics3D/Plot3D rendering issue

I have an issue in Mathematica with the rendering of 3D graphics. Two sides (right and bottom) of some sort of bounding box are present, and, in the instance of ...
2
votes
2answers
102 views

Filling a between lines using table and line

Graphics[{ Table [Line[{{0, step}, {1, step}}], {step, 0, 10}], Table [Line[{{0, step}, {10, 5}}], {step, 0, 10}] }] I am trying to fill between all the ...
-1
votes
2answers
110 views

How to put single points inside the plot? [duplicate]

I wrote this simple code for a basic plot (two lines): ...
29
votes
2answers
982 views

How can I use Kenneth Moreland's “Diverging Color Maps for Scientific Visualization” in plots?

I often want to plot two dimensional data that is centered around zero (for me, this is usually a 2D optical spectroscopy signal, but there are other cases), and the MATLAB "Jet" color scheme is ...
14
votes
2answers
244 views

Why is DiscretizeGraphics missing points on my curve?

I have a graphics expression which renders nicely as a closed curve when put in Graphics, I don't understand why I can't get the lines from DiscretizeGraphics or ...
1
vote
2answers
55 views

How to use Show with Rotate

The following use of Show produces an error (Could not combine the graphics objects in Show) even though the two graphics objects are constructed just fine. ...
0
votes
0answers
53 views

How to export heterogeneous data to single file?

I want to export structured heterogeneous data (containing images) to some standard file format. The expression to export can contain 3 atomic types: numbers, strings, images, and be nested with 2 ...
2
votes
1answer
139 views

Vector graphics in Export for Video rendering

I am trying to generate a vector graphics video in Mathematica. I stumbled upon SWF format (PNG are raster images which I'm not interested in). SWF format works fine for me but the axes and the ...
1
vote
1answer
258 views

Basins of attraction of equilibrium points

The Henon-Heiles potential is the following V = 1/2*(x^2 + y^2) - y*(1/3*y^2 - x^2); which has four equilibrium points ...
3
votes
1answer
90 views

Rectangle or Polygon with no filling

I have: ...
2
votes
1answer
137 views

Basins of attraction using Newton's method Part II

For the function $F(z;Q,a) = 3z - \frac{z}{|z|^3}\left(1 + \frac{3a}{2|z|^2}\right) - Q$ the Newton iteration formula is $z_{n+1} = z_n - \frac{F(z_n;Q,a)}{F_z(z_n,a)} = ...
0
votes
1answer
144 views

Basins of attraction using Newton's method

In this question Original Post the user provides a working Mathematica code which plots the basins of attraction using the Newton's iteration method. However the code works only for the function $p(z) ...
10
votes
2answers
418 views

create an (almost) hexagonal mesh on an ellipsoid

EDIT I edited the question in order to take into @Kuba's comment. I want to create this figure with Mathematica (in particular an almost hexagonal mesh on an ellipsoid; thanks to @Kuba I know this ...
0
votes
1answer
57 views

How to produce a outer frame around a plot [closed]

The following question is related to plots and graphics. For a plot: ...
1
vote
1answer
95 views

Generate $n$ randomly oriented non-intersecting cylinders with fixed radius and length

This post is in reference to the previous question here. How could I adapt the solution given to have the following constraints: fixed radius, fixed length, number of cylinders, and within a ...
0
votes
1answer
95 views

Move figure to origin [closed]

I have used PixelValuePositions to get coordinates from a figure. But I would like to move the figure, so the origin is in the middle of the figure. An example ...
5
votes
0answers
73 views

InterpolationOrder has no effect on ListContourPlot when the data is of the form {x,y,f[x,y]}

This is related to the issue brought up here, if you want to mark it as duplicate feel free to do so, but it is slightly separate. Take two sets of data, identical except for the form, ...
2
votes
2answers
99 views

Combine graphics with GraphicsGrid

...
4
votes
2answers
148 views

How to set the bar exactly in the center of plot marker?

ErrorListPlot usually does not put the error bar exactly in the center of the plot markers. For example: ...
6
votes
1answer
138 views

Bug in Export - known by Wolfram Support - upper plot margin depends on string length of upper horizontal axis label

Bug introduced in 9.0 and persisting through 10.3 or later ! See at bottom the answer by Wolfram Research. I am running Mathematica 10.3. For test purposes I have used the following code: ...
3
votes
1answer
122 views

Is there a way to control the placement of individual tick mark labels?

Let me start by saying there are a lot of other questions here on SE and elsewhere about tick marks in MMA but I think I am correct in saying that none of them cover exactly what I want (apologies if ...
1
vote
1answer
113 views

Reducing the size of exported .eps files to the minimum necessary

Running version 10.3 on my Power Mac with 22 Gbytes of memory I can create and export an .eps or .pdf graphics such as, ...
2
votes
3answers
154 views

select from a list of disks

I have the following list of centers of disks. ...
2
votes
2answers
184 views

intersecting cylinders

I try to replicate the two figures of two intersecting cylinders from here. I tried ...
2
votes
0answers
168 views

How to convert an uploaded image to a “dot-to-dot” puzzle? [closed]

I would like to upload an image to Mathematica and have the software place numbered points throughout the image so that it appears as a "dot-to-dot" image puzzle. I would also like to specify exactly ...
3
votes
2answers
102 views

Difference Colored legends from main plot

I am using the below code to create legends but I don't know why the colors in legends for various plots are different of devoted to main color of plots From ...
15
votes
5answers
778 views

Magnifying Glass on a Plot

Although there is a trick in TEX magnifying glass but I want to know is there any function to magnifying glass on a plot with Mathematica? For example for a function as ...
0
votes
0answers
83 views

Smooth Curve using Drawing Tools Palette

I am learning to use the drawing tools palette that comes packaged with Mathematica. I'm attempting to create some diagrams for class using Mathematica's drawing tools rather than Adobe. Is there ...
0
votes
1answer
74 views

Attaching labels to the vertices of an Octahedron

How do you attach the labels (e1,e2,e3,e4,e5,e6) to all 6 vertices of the Octahedron below, ensuring that the labels of the first figure corresponds to the end ...
1
vote
0answers
39 views

Plot3D PlotStyle V10.3 vs V7 [duplicate]

This is the from the the very good book of Hazrat He used Mathematica 7.0. In Mathematica 10.3 one gets ...
0
votes
1answer
72 views

Rotate the output of Plot3D [closed]

f[x_, y_] := Sin[x^2 + y^2] Exp[-x^2] + Cos[x^2 + y^2] g2 = Plot3D[f[x, y], {x, -2, 2}, {y, -2, 2}, PlotPoints -> 50, Axes -> False, Boxed -> False] ...
13
votes
1answer
307 views

Wiggly and imprecise animated gif output

Trying to make animated gif of zooming into famous Ford circles. With the code ...
3
votes
2answers
240 views

generating randomly oriented non-intersecting cylinders

I could not find anything relevant with "googling" (only this) I can create a set of randomly oriented cylinders (code found here) ...
0
votes
0answers
87 views

Intersection of two cones

I want to plot a region difference between two cone, but the results seems to be very deformed.. ...
10
votes
2answers
402 views

How to extract a region shape from an 2 colour image?

I'll start by saying that I don't know anything about image processing. I have an image and I need to extract its outermost shape for use in a WordCloud. The image ...
1
vote
3answers
125 views

how to find circles that intersect a square

I use the following (based on ideas and functions I got as ansers in [1], [2] by, repsectively, @ybeltukov and @J.M.) in order to find random circles with centers inside a unit square that intersect ...
0
votes
0answers
44 views

Anyway to add Epilog graphics outside of plot area without extending the axes? [duplicate]

I'd like to be able to add a line below the x-axis of my plot but not have the y-axis extending down to cover this region (as it defaults to). For example: ...
4
votes
4answers
236 views

Combine multiple swatch legends

How can I combine multiple SwatchLegends? As a minimal example: ...
1
vote
1answer
112 views

Import graphml file in mathematica

I am trying import a graphml file I created with NodeXL in mathematica in order to create a network. However when i try to import it I get the error message: "Cannot import data as GraphML format". ...
2
votes
2answers
92 views

How to created visualization dashboard for summary data?

I would like to create the following dashboard: The numbers indicate my desired dimensions for the cells. I would like the cells to contain a regional plot, a trend line, and bar charts. I have ...