Questions tagged [graphics]

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 Plot commands.

Filter by
Sorted by
Tagged with
0 votes
1 answer
63 views

Use Mathematica to implement a Penney's game solver

In Penney's game , player A selects a sequence of heads and tails (of length 3 or larger), and shows this sequence to player B. Player B then selects another sequence of heads and tails of the same ...
138 Aspen's user avatar
  • 877
2 votes
1 answer
163 views

Graphing curves formed by a rolling polygon

I am trying to make a Mathematica graphing function that would generalize common phenomena. How would I do this? From a circle, we can generate a cycloid (if rolling on a line) or a sine wave (if ...
Teg Louis's user avatar
  • 403
14 votes
3 answers
1k views

Diploria labyrinthiformis - can we reproduce Ernst Haeckel's drawing of a brain coral?

Ernst Haeckel (1834 - 1919) was a German philosopher, physician, artist and professor of zoology at the University of Jena. He promoted and popularised Charles Darwin's work in Germany. Haeckel (left)...
eldo's user avatar
  • 48.9k
0 votes
1 answer
71 views

How to plot points on a grid given by two vectors? [closed]

I am trying to do a very simple task that is automatic on Matlab for example, but it is not trivial for me in Mathematica: Given two vectors for example: ...
Daniel Vainshtein's user avatar
1 vote
0 answers
39 views

How to place Objects in Graphics in front or behind other objects using Inset[] in Mathematica13.3?

I made several 2DGraphics using Mathematica v12.0. To define if an object is placed in front of another or behind, I simply changed the order of the Inset. In this ...
Cptn Bluebear's user avatar
2 votes
1 answer
74 views

Rotating text in the Epilog of a plot results in distortion

I want to rotate text in a plot. When I rotate by 90 degrees, or 180, it's perfectly OK. But if I want to rotate to 60 or 45 degrees, then the text appears distorted (see example below). How can I fix ...
lia's user avatar
  • 145
9 votes
5 answers
3k views

Digits of Pi in colored spiral

In How to make the digits of π go around in a spiral like this? it is described how to plot pi in a spiralform (in my case as binary number): ...
ralf_7's user avatar
  • 93
7 votes
3 answers
331 views

Sum of its parts - replicating a porcelain sculpture of Nuala O’Donovan

1. Introduction Nuala O’Donovan is an Irish Artist, living and working in Cork. According to her website her research areas are "Irregularities in Patterns in Nature" and "The Geometry ...
eldo's user avatar
  • 48.9k
8 votes
1 answer
151 views

Making a Scanimation

Scanimations are also known as a barrier grid animation. These work by overlaying a screen with black (or in the gif below, red) bars separated by transparent bars. The red bar width is an integer ...
Tomi's user avatar
  • 4,262
0 votes
0 answers
64 views

How to project point in Graphics3D to the plane of the screen?

The code bellow depicts two black points {0,0,0} and {2,1,-1/2}. Projection of the point ...
azerbajdzan's user avatar
  • 9,913
14 votes
2 answers
573 views

How can we reproduce Otti Bergers winding carpet patterns?

Otti Berger was a textile designer and weaver of Jewish heritage. She was born in Zmajevac (Austro-Hungarian Empire, present day Croatia) in 1898. Berger attended the Bauhaus school between 1926 and ...
eldo's user avatar
  • 48.9k
12 votes
6 answers
2k views

The Battleship game: Identify objects within a matrix

Toy data ...
eldo's user avatar
  • 48.9k
18 votes
3 answers
833 views

How to weave Anni Albers Red Meander carpet?

Anni Albers (1899 - 1994) was a German artist regarded as one of the most influential textile designers of the 20th century. Since 1931 Albers was head of the Bauhaus weaving workshops in Dessau and ...
eldo's user avatar
  • 48.9k
0 votes
1 answer
63 views

Aligning object in Graphic

When I try putting dot graph(ListPlot) named dg as below to my Histogram graphic.The horizental axis is not exactly aligned. How to fix my code? ...
Soon's user avatar
  • 399
0 votes
0 answers
33 views

Low EPS export quality for Histogram/BarChart

I like to export a figure as an EPS and continue to edit it afterwards (e.g., with inkscape). In the past, I was only exporting plots and everything worked fine: figures had high quality, and I could ...
Philipp's user avatar
  • 115
6 votes
1 answer
334 views

How to Create a Contour Plot on a Surface of a Unit Sphere from a Table of Values? [SOLVED]

I've generated a table of the form tupleListImport = {{theta_1, phi_1, value_1},{theta_2, phi_2, value_2},{theta_3, phi_3, value_3},.....,{theta_n, phi_n, value_n}}, where: theta is a polar angle (in ...
Quantum Kid's user avatar
2 votes
1 answer
110 views

Adding an object across multiple objects

To add Arrow connecting the red point across two Show[] function result as below, Could I know how to modify my code? ...
Soon's user avatar
  • 399
3 votes
0 answers
50 views

Why PlotStyle affects style of mesh in 3D?

In the documentation of PlotStyle we can read: PlotStyle->None specifies that the main objects in a plot should not be drawn explicitly, though mesh and filling ...
azerbajdzan's user avatar
  • 9,913
7 votes
2 answers
218 views

Construction of a Fuller dome

Cover of TIME magazine, January 10, 1964 Richard Buckminster Fuller (1895 - 1983) was an American architect and designer. He popularized the Geodesic Dome. Carbon molecules are also known as ...
eldo's user avatar
  • 48.9k
4 votes
2 answers
147 views

How to make this optical illusion in 3D with Tube instead of Line?

I made this optical illusion so that the half spheres disappear at some point and another illusion is that you may switch from perceiving spheres from convex to concave and vice versa. How to do the ...
azerbajdzan's user avatar
  • 9,913
5 votes
4 answers
1k views

How can I draw a rubik has the form a pyramid like this?

I want to draw to this picture. I am sorry, I do not know how to tell Mathematica do this. I do not know how to start.
Thuy Nguyen's user avatar
0 votes
1 answer
46 views

Overlapping graphics [closed]

My goal is to overlap theoretical graphs (Figure 1) and simulated graphs (Figure 2). (※These theoretical curves are the normal distribution curve and the theoretical curve of the sample average). The ...
Soon's user avatar
  • 399
4 votes
0 answers
83 views

How to achieve local area distortion zoom?

This work was authored by Victor Vasarely. I wanted to reproduce a similar image effect and colour effect. I made a simple attempt to draw out the original background section first. ...
Vancheers's user avatar
  • 736
7 votes
1 answer
195 views

Distributing points on boundary (roughly) evenly

How to get roughly evenly distributed mesh points along boundary? We can see marked by red circles, that some points are too close to each other while others are too apart from each other. ...
azerbajdzan's user avatar
  • 9,913
13 votes
2 answers
587 views

How to produce an Itten color star?

Johannes Itten (1888 - 1967) was a Swiss painter and designer From 1919 to 1922, Itten taught at the Bauhaus School in Weimar, teaching his students the basics of materials, composition and color. ...
eldo's user avatar
  • 48.9k
0 votes
1 answer
68 views

To draw a function within an interval [closed]

I need to draw this function: z=f(x), where z=tanh(y) and y=sin(x), within a range of x(-2Pi,2Pi)? Should I use "Plot" function or some other built-in functions? Thank you
Jeremy Acai's user avatar
3 votes
1 answer
206 views

To get rid of "double lines" [closed]

I have the following code: ...
Iosif Pinelis's user avatar
2 votes
1 answer
54 views

Creating a `Labeled` with left-justification?

What is the easiest way to have a label below a plot that's left justified? I've tried Labeled, but can't find a way to get the result to be left-justified on the ...
Yaroslav Bulatov's user avatar
2 votes
2 answers
45 views

Show the translated version of a plot alongside another graphics object

I want to demonstrate the fact that the main part of a Mandelbrot fractal is consisted of a cardioid and some circles. So at first, I wrote this line: ...
polfosol's user avatar
  • 952
0 votes
0 answers
67 views

How do you create a program to calculate the spectrum of a pulse of arbitrary shape?

Develop a program designed to compute the spectrum of a pulse with an arbitrary shape. My current program might not suitable for solving this problem. ...
Iра Сотник's user avatar
6 votes
3 answers
412 views

How to produce a Calder mobile?

Alexander Calder (1898 - 1976) was an American artist known for for his mobiles and his public sculptures. Here are two examples of his mobiles which I want to approximately reproduce with ...
eldo's user avatar
  • 48.9k
1 vote
1 answer
84 views

Drawing arrow without filling

How can I draw an arrow which is empty inside and only has a border?
lia's user avatar
  • 145
3 votes
2 answers
159 views

Clipping graphics of ellipsoids

Say I have the following code to generate a graphics object ...
enzotib's user avatar
  • 1,054
1 vote
1 answer
56 views

PlotLabel multiple plots inside a Table

...
G. Ajello's user avatar
0 votes
0 answers
32 views

Help fixing dynamic graphics with multiple features

I'm trying to create a graph drawing widget, here are its basics that just allow you to create and drag vertices: ...
swish's user avatar
  • 7,611
9 votes
3 answers
2k views

Mimicking Günther Uecker's nail art

One of my favourite contemporary artists is Günther Uecker (born 13 March 1930 in Crivitz, Germany). He uses hammer and nails to create VectorPlot-like structures. ...
eldo's user avatar
  • 48.9k
1 vote
1 answer
97 views

How to make a stereograph? [duplicate]

I’m interested in creating my own stereo graph like this one below. These got popular a few years back in malls. If you focus on a point passed the screen a 3d object appears in 3d. I’m wondering if ...
B flat's user avatar
  • 5,493
1 vote
1 answer
40 views

Adjusting thickness of lines in PlotLegends?

I have the following plot: ...
MathIsHard's user avatar
0 votes
1 answer
80 views

Why can't I combine these two plots? [closed]

I have the data ...
Nitaa a's user avatar
  • 698
0 votes
1 answer
49 views

How do I plot a 2D function with an intermediate variable?

I have a function $c\cdot\frac{x^2}{x^2 + 10^{-6.367}*x + 10^{-6.367-10.32}} + x = c\cdot\frac{10^{-6.367-10.32}}{x^2 + 10^{-6.367}*x + 10^{-6.367-10.32}}+\frac{10^{-14}}{x}$, where $0 < x < 10^{...
HasturQ's user avatar
10 votes
3 answers
3k views

How do you achieve this optical illusion of a picture?

In MSE by a similar problem about the optical illusion, but I feel that the solution ideas of other problems can not be applied to the following diagram, I would like to ask you how to draw this kind ...
Abel's user avatar
  • 113
2 votes
1 answer
99 views

How's Plot3D implemented?

I used the following code to plot all points calculated when plotting a surface: ...
Nekomiya Kasane's user avatar
7 votes
3 answers
601 views

Curvature of a Klein bottle

1. Problem statement An old answer of mine: Computing Gaussian curvature shows how to color parametric curves and surfaces according to their curvature. However, the methods used there will fail for ...
eldo's user avatar
  • 48.9k
1 vote
0 answers
43 views

How to draw an equation in an irregular ImplicitRegion? [closed]

I am trying to draw an equation in an specific area. I use ImplicitRegion to define the area. I can use RegionPlot to draw the ...
Lomath's user avatar
  • 119
1 vote
3 answers
150 views

Lattices drawings

I want to generate an image in order to explain a construction. The construction is the following. Start from a finite-sized 2D square lattice, create 3 copies of the starting lattice and place them ...
Giancarlo Creanza's user avatar
1 vote
0 answers
53 views

Fitting experimental data to a plot with different x-axis paths

Given Mathematica code of eigenvalues in different variable-paths , I want to add experimental data in the path Gamma-X ; X-Gamma ; and M-Gamma . Here is the code : ...
Med Ch's user avatar
  • 117
13 votes
1 answer
299 views

Lens on a map. Realistic imitation of magnifying glass on images with text and other small features

UPDATE: Code from this post was used for video generation here: Cinematically moving a lens over images: magnifying glass effect in videos I am trying to create a magnifying glass effect for images ...
Vitaliy Kaurov's user avatar
12 votes
9 answers
1k views

How can I draw sequence of these fractal squares?

For the first square, I tried Graphics[{Green, Rectangle[{0, 0}, {3, 3}]}]
Thuy Nguyen's user avatar
8 votes
6 answers
877 views

Hat Polykite Shape

How can I create the hat polykite shape, also known as the "einstein" in mathematics?
Tomi's user avatar
  • 4,262
1 vote
1 answer
92 views

How can we plot horizontal prediction bands?

1. Problem statement Some game days before the end of a league season I want to show the possible final rankings (depending upon the results of the outstanding games). 2. Example data (situation after ...
eldo's user avatar
  • 48.9k

1
2 3 4 5
95