# 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.

4,014 questions
Filter by
Sorted by
Tagged with
96 views

### How to determine which points are on an envelope of ellipses?

I'm wondering how to determine the location of some of the points on the envelope of a family of ellipses? The picture I have is below: For each of the individual ellipses, I know how to get the ...
144 views

### How to get the image from output of Sound[]

Sound[] generates a visual representation of notes. I would like to extract that image, only notes, without controls and borders. How can I do it? Take this example ...
93 views

### How to draw tangents to a curve and obtain the corresponding angle?

I'm trying to solve an equation and plot the solutions in the complex plane: ...
40 views

### Would like to plot triangles while specifying color of vertices

In the following code, trying to specify that the points are red? Why not all of them are red? Also, is it possible to combine a and b into one plot? ...
75 views

### How can I create and plot (in the same diagram) 1000 different vectors in Mathematica?

I'm new to Mathematica and I got stuck. Also, I'm not a programmer, so I would like to ask the following question. I want to make 1000 different vectors, of which everyone contains 55 random elements. ...
36 views

### Add labels to points based on variable names

I have a list of points, and from them I am drawing a polygon: ...
44 views

### Is it possible to enhance the CoordinatesTool by manipulating its associated package?

Mathematica has a Coordinates Tool which is part of tools&actions which show up if one clicks on a Graphics or a picture. Coordinates Tool lets you digitize pixels from a graphics or picture in a ...
52 views

### Non trivial zeros of Dirichlet L function

So I was wondering if I can find some of the non trivial zeros of the Dirichlet-L function using mathematica. What I found out was there is a code ZetaZero[] which ...
61 views

### ListLinePlot trace looks fuzzy with too many data points

I'm plotting a list of data (v) where some of the points are very close together. No problem if AbsoluteThickness[x] is set to x=0.5, but the trace begins to look fuzzy if x>2.5. This is mainly an ...
48 views

### Plotting in Mathematica [closed]

I want to plot of $0<x^2 -y^2 \leq 1$ in Mathematica. Previously , I draw it in Wolfarm Alpha. But I want to do it in Mathematica. I attempted......
87 views

### Epilog outside the plotting area

I'm trying to represent the projection of a point on the axes of a plot. ...
119 views

### I am trying to plot every mesh point of a model elephant so that the surface of the elephant wraps around the interior surface of the mirror

I'm trying to find a way to turn the elephant inside out in a way. Imagine cutting an elephant in half from tail to trunk, stopping right before the trunk. You could flatten the elephant out and wrap ...
68 views

### Errors when plotting $\operatorname{Re}\sum_{n=1}^{200} \frac{(a\ln x)^n}{n!\, n\zeta (n+1)}$ in $x$

Let $a=1/2-30.424876126i$ ($i^2=-1$). Then trying to plot $$\operatorname{Re}\sum_{n=1}^{200} \frac{(a\ln x)^n}{n!\, n\zeta (n+1)}$$ in $x$ leads to a very inaccurate jaggy graph possibly caused by ...
55 views

### Export a graph to pdf but size does not match

The following is a minimal example that I intended to obtain a graph (RegionPlot) of image size 3cm: ...
47 views

### Move dynamic plot inside DynamicModule

I am trying to understand Dynamic a bit better for some classroom presentations, so I tried to make a dynamic list plot. As far as I can tell, this still requires ...
76 views

### Making Static Buttons

Is it possible to get a button that remains still when clicked? That is, it does not show the temporary pressed frames This also happens when I set ...
32 views

### Methods to retrieve edges from Cuboid and other complex graphic primitive

I am trying to get the edges as Lines from an ArrayPlot to do further analysis on such as remove edges depending on location or ...
52 views

### ListPlot with Opacity strange outcome

Bug introduced in 12.0 or earlier and fixed in 12.3. Simply do this ...
57 views

### According to the path, how to draw such a binary tree?

As shown in the figure, the path can be generated by the following code ...
36 views

### Put a label near the edge of a Grid object

I have a Grid object and want to put a label near its corner or edge. The label will overlap with the boundary, not fully inside the ...
38 views

### How to creat a high-quality graph image for MorphologicalGraph to convert to graphs (it can't detect some edges in mine)?

I'm using MorphologicalGraph to convert images to graph. This is my source image: Following this and this, I tried ...
36 views

### How to show/hide radio buttons by clicking a button?

I'm implementing a neural network for school and I have a function where the user can interact with the variables. The thing is, I have a lot of variables and I want partially hide show them using ...
54 views

### VectorPlot3D: How to add points into the 3D output as well as to its plane projection?

I'm asking for your help in adding the points to a VectorPlot3D output as well as to its projection in the plane, I had tried with VectorPoint, but I don't get what I want; I would like to keep the ...
143 views

### Connecting simple lines from (large) unsorted list of points

Context We are trying to predict the formation of discs of intermediate mass black hole orbiting super massive black holes in galactic centres. This involves finding calorific curves in energy and ...
42 views

### Restricting TextOutline mode to special characters when exporting SVGs

Exporting graphics to SVG in Mathematica defaults to converting all the text to outlines, at least since version 11 as far as I can tell. This is more robust for viewing on different devices, but it ...
44 views

### Resizing the graph of a function with radicals , Why?

I am trying to graph this function $c(t)=\frac{2-\sqrt{t+3}}{1-t}$ using this code, to see its behavior at infinity. I need that in the vertical axis appears the value when $t->1$ (The graphs ...
92 views

### Animating a 2D MDOF system

I'm studying mechanical engineering and I have to complete an assignment of animating a 2D graphic of a two degree of freedom system response presented on the picture below. I've calculated the ...
76 views

### How to generate an heterogeneous mesh

I'd like to generate a mesh with a big variance in cell size. Something like I'd prefer not to rely on a vertex model and perhaps use something simpler, like ...
53 views

### Is a point inside a graphics group composed of multiple Polygons and FilledCurves, not all overlapping?

I have many thousands of points, and I want to check if they are inside a GraphicsGroup that is composed of many Polygons and FilledCurves, similar to GeoWithin but without having to make tedious ...
156 views

### Plotlabel too high issue (V12.3)

I think I started to notice this issue with plots when I updated to version 12.3 a couple weeks ago but didn't pay too much attention. Now it's really bugging me because I have a presentation of this ...
138 views

### Plotting ellipse with given parameters

How would I go about plotting an ellipse at a given center point x,y with a given angle, semi major axis length as well as the major axis length? My attempt I had tried to use the Ellipsoid function ...
72 views

### Get the list of (x,y) point of a graphic

I have a function like this: E^(-t/0.001)*Cos[t] + E^(-t/0.01)*Cos[1000 t] I used the code below as suggested in the forum to obtain the x,y values for points <...
82 views

### Find appropriate functions for fitting curves

How can I produce, using Mathematica, the red curves of the following schematic? Unfortunately, I cannot use simple trigonometric functions such as Sin, ...
79 views

### Bug in Export of figures with PlotMarkers?

I am experiencing problems with exporting figures such as combinations of ContourPlot and ComplexListPlot. As an example, when ...
44 views

### Improving my superimposed hexagonal lattice code

Pretty knew to Mathematica here. I have created a code stemming from a basic function that I found here in the stack exchange. I am basically making three different hexagonal lattices. Two of them are ...
143 views

### Implementation of Bean machine (Galton board)

Bean machine is a triangular array of pegs, Balls are dropped onto the top peg and then bounce their way down to the bottom where they are collected in little bins.Each time a ball hits one of the ...
52 views

### How can I adjust the size of this parametric plot output? [closed]

I have a problem with the dimensions of the output of a ParametricPlot. What I'm trying to do is solve a differential equation using ...
48 views

### How can I make publication quality figure in mathematica? [duplicate]

It includes adjusting the DPI of the image.
104 views

Consider: ...
451 views

### Draw an arrow such that this arrow gradually dims away?

How to draw an arrow such that this arrow gradually dims away? Say the arrow head has Opacity, but the arrow end has ...
31 views

### Graphics Ticks function evaluation on Wolfram Cloud

I have been trying to get something like ResourceFunction["GraphicsInformation"] to work in the cloud - however, it looks like the tick and grid functions ...
3k views

### All that doesn't glitter isn't gold

I would like to color some objects in metallic shades like gold and silver. Various web sources suggest that the gold is a variant of yellow with RGB values 83.14% red, 68.63% green, and 21.57% blue. ...
55 views

### ParametricPlot Piecewise Bug

I have a code where I wrote a piecewise function and did a parametric plot. However, there seems to be something wrong with the plot because there is an edge that appeared which should not be there ...
167 views

### How can I rescale / format chart elements in a bar chart?

In this simple MWE, I create a simple chart element of a female figure, and then I apply it to a barchart, with the following code (note: womfig = this little stick figure here). ...
55 views

### Draw first few sides of a polygon thicker than the remaining sides

I use the following code to draw an n-polygon where the first t sides are meant to be thicker than the remaining sides: ...
80 views

### How to form Rigid Body Transformation Matrices?

We have two line segments specified by a pair of points $(b_1,t_1)$, and $(b_2,t_2)$. We want to find the transformation between the two line segments. Define a unit vector $z_1$ from $b_1$ and ...
419 views

Writing: ...
136 views

### Find intersection points between ParametricRegion and other curves

How do you instruct Mathematica to return intersection points between curves as numerical values, when using ParametricRegion to represent at least one of the ...