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

20
votes
1answer
3k views

How to create a fascinating QR code like this?

Check the facinating QRCode in my profile page here You can find that this QRCode is some sort of intriguing as the QRCode is a IMAGE ITSELF!!! So my question is, how to create such a QRCode ...
0
votes
1answer
50 views
3
votes
1answer
64 views

Draw border around constant regions of image

I would like to ask that is it possible to draw borderline - contour - around those cells (pixels) which are neighboring and contains the same value. An example by hand: Thanks!
0
votes
1answer
29 views
1
vote
1answer
53 views
0
votes
0answers
22 views

How to use BarLegend on a personalized color function

as the title says i have to show a BarLegend for a graphic built from a matrix. The function used to determine the color of the elements of the curve is $$ { 1 - 1/3 (msum[[i, j]] )^b, 1 -(msum[[...
24
votes
2answers
2k views

How can I customize arrowhead shape to match common LaTeX styles?

How do I control the shape of my arrow heads? LaTeX's TikZ package has a wide variety of predefined arrowhead styles, some of which I'd like to try to match for Mathematica figures I'm importing into ...
7
votes
3answers
147 views

How to create a Text with certain size given in a specified way?

Note: all these coordinates are in Graphics system, not text size system. so specifying simply by Style[text, 5] or so won't ...
84
votes
6answers
18k views

Exporting graphics to PDF - huge file

I want to draw some basic surfaces, export them to PDF and include them in a LaTeX file. I create a simple 3D graphics object, for instance with ...
8
votes
3answers
1k views

Plotting a 2D shape along a 3D parametric function curve

Say I have a 3D curve that is parametrically defined. How would I be able to plot shapes like figure 8's whose centers are aligned along the 3D curve? Say the curve was: ...
1
vote
2answers
79 views

Treating the output of a plot function as a graphics object, changing the opacity

I want to treat the output of a plot (DensityPlot specifically) as a single graphics object and reduce its opacity. Something like: ...
-1
votes
2answers
164 views

Selecting points inside a closed curve

Let's create a rather dense grid of initial conditions ...
7
votes
2answers
132 views

Inflection point and curvature

Through a coordinates list and then interpolating them I got a $f[x]$. ...
1
vote
1answer
50 views
3
votes
2answers
92 views

Henon Map Fixed Points Plot versus Iterations and Plot of the Map

For the Henon Map: $$ x_{n+1}=y_n+1-αx_n^2, \quad y_{n+1}=β x_n$$ I would like to discover period doubling bifurcations by varying the parameter $α$ and plotting $x_n,y_n$ versus the iterations $n$ of ...
2
votes
1answer
31 views

Size of headings for a table with graphs

I want to change the size of the heading of a table that includes graphs and am having no luck. The command I am currently using is ...
0
votes
1answer
39 views

Graphics3D plot of group of Vectors

I am trying to overlap 2 different Coordinate Systems (C1,C2). I want it to be visually pleasing but it is increasing the length of code I tried ...
1
vote
1answer
123 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 ...
-1
votes
3answers
68 views

How to use SwatchLegend in Show? [closed]

Let us suppose i have two graphs for sequences A and B as follows ...
20
votes
7answers
2k views

Find intersection of pairs of straight lines

I have a list of 24 points, in which two consecutive points (1st and 2nd, 3rd and 4th, …) are supposed to form a line: ...
-1
votes
1answer
54 views

Comparison Graph

I want to draw the combine comparison graph of the following four sequences (note that two are approximatly equal), each one have different colors and lables etc AK ...
0
votes
1answer
63 views

Visualization problems [closed]

I am visualizing 1-dimensional curves that are periodic. Due to periodicity, extending the domain should result in the curve being retraced and therefore remaining unchanged. This doesn't seem to be ...
1
vote
2answers
142 views

How to do a parametric histogram?

Is it possible to draw a spectral histogram from two random sets ? More specifically, I have these two random functions (fmin, ...
3
votes
1answer
54 views

Place Legend above Epilog

I am currently struggling with a problem which I haven't seen answered anywhere else. I want to make a ListDensityPlot graph in which I need to draw some ...
9
votes
1answer
240 views

How to define a custom 2/3D graphic primitive like built-in?

There are lots of basic graphic-pimitive in Mathematica, such as 2D- pimitive: Line[], Circle[], Disk[] and 3D-pimitive: ...
7
votes
3answers
529 views

Graphics of Ebbinghaus illusion [closed]

I define two graphics for Ebbinghaus illusion ...
4
votes
3answers
349 views

How to color the edges of a triangle?

I'd like to draw a triangle (given the side lengths) with the sides colored separately. I tried ...
3
votes
3answers
263 views

GeoGraphics examples not running correctly

I'm trying to work with the new GeoGraphics functionality in Mathematica 10, starting with the example given here. None of the code seems to run well for me, though. I try to run the first command: <...
14
votes
2answers
338 views

How to align coordinate systems of Inset and enclosing Graphics?

Suppose we have some plot with AspectRatio not being Automatic: ...
13
votes
2answers
411 views

Disconnected Frame/Axes in Plots

Is it possible to have "Tufte" style figure axes? That is so that the axes do not need to connect or span the entire data range? For an example of what I mean from the R's default histogram style: ...
0
votes
1answer
65 views

Manipulating of non linear differentials equation

I want to manipulate non linear differential equations $\dot{x}= x + g\, xy\quad \dot{y}= 1-2x^2-g\, y^2$ where g as parameter.but I don't get any curve on display. Plz help me
4
votes
1answer
121 views

Getting Area of a region transformed by GeometricTransformation

I tried this: Clear[b1, b2, A, p] b1 = {-1, 1}; b2 = {1, 1}; A = {{2, 1}, {-1, 1}}; p = Parallelogram[{0, 0}, {b1, b2}]; Then drew this: ...
0
votes
2answers
159 views

How to do this 3D grid drawing? [closed]

The idea is to make axes 3d, with a more subdued in black mesh, and shafts with their respective numbers with a maximum of 10 in each (black to print after the size of half a sheet craft, vine also ...
10
votes
3answers
757 views

How to create this spikey in Mathematica?

I came across this post while messying around the StackExchange mobile. I think this thing can be easily done by Mathematica as well but I'm not an expert in geometric field. Can anyone give some ...
6
votes
2answers
185 views

Samuel inverse graphing calculator

Samuel Inverse Graphing Calculator (http://www.xamuel.com/inverse-graphing-calculator.php) is a amazing tool. Whichever be your language, you can transform a sentence in an equation. I hav try with Yo....
-2
votes
2answers
131 views

Create a filled ListPlot, where the points in the list come from within the regions rather than from the region boundaries

Is it possible to fill, color, under the points in ListPlot where the points define the area and the boundary? Assuming that the number of points are large enough ...
2
votes
1answer
122 views

Cannot combine GeoPosition polygons in version 10.4

I was using with Mathematica 10 for plotting different kinds of maps the function PolygonCombine. It seems that this fucntion has disappeared with the version 10.4? Here is a classical example for the ...
2
votes
3answers
793 views

draw part of parabola using graphics

today I was doing my physics homework. one of the questions was draw velocity-time and position-time graphs from the acceleration-time graph. So for the first step I draw acceleration-time using ...
3
votes
1answer
86 views

Automatic cascading placement of graphics

Is it possible to automatically cascade graphics or images in MMA? It seems to me that most of the built-in graphic functions have a gridded style, e.g., ...
8
votes
2answers
105 views

Control of individual Framed edges?

Is there an option or method for Framed analogous to Frame in Graphics to control display of ...
1
vote
1answer
47 views
1
vote
1answer
164 views

Positioning Labeled points in ListPlot gives unexpected results and errors

Original question can be seen in the edit history.... Update A simpler example - same problem. ...
5
votes
1answer
161 views

Background colour of text in graphics [duplicate]

I see this strange behaviour when both the containing cells and the graphics have a non-white background. I set the style of a notebook to "Standard Report" (Format -> Stylesheet) and did this: <...
1
vote
0answers
46 views

Magnify Part of a 3D Graphic [duplicate]

I have a 3D Graphic built, and I want to magnify part of it. I would prefer a circle or ring-shape that can be placed anywhere in front of a 3D graphic that would magnify it. Ultimately, I want to ...
1
vote
1answer
41 views

How to suppress mouse over error messages on graphics

How do I suppress these they are preventing me from getting coordinates. Here is the code to create the graphic if it helps. ...
47
votes
2answers
3k views

An efficient circular arc primitive for Graphics3D

As many people have noted, the 2D graphics primitive Circle doesn't work in a Graphics3D environment (even in v10.0-v10.4, where ...
0
votes
0answers
22 views
44
votes
5answers
6k views

How can I extract data points from a black and white image?

Consider the following graph (source): Is there any way to extract the data points from this image in a semi-automatic way? I have seen, and tried the methods suggested in this question, but they ...
1
vote
1answer
47 views

How to make an empty plane, and add points on the way

Apologies for the noob question, I'm not very experienced with Mathematica, but I need it for a presentation. What I would like is to make the x-y plane with both coordinates running from say, -5 to ...
1
vote
1answer
76 views

How can I reflect a graphic across a line? [closed]

I would like to make an animation that shows where a graphic (square, circle etc) would be after it is reflected over a line. Thanks