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
1
vote
1answer
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 ...
5
votes
2answers
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 ...
0
votes
1answer
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: ...
1
vote
1answer
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? ...
0
votes
2answers
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. ...
0
votes
1answer
36 views

Add labels to points based on variable names

I have a list of points, and from them I am drawing a polygon: ...
1
vote
0answers
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 ...
0
votes
1answer
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 ...
2
votes
1answer
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 ...
0
votes
1answer
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......
2
votes
1answer
87 views

Epilog outside the plotting area

I'm trying to represent the projection of a point on the axes of a plot. ...
2
votes
0answers
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 ...
0
votes
1answer
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 ...
3
votes
1answer
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: ...
1
vote
1answer
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 ...
2
votes
0answers
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 ...
2
votes
1answer
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 ...
3
votes
1answer
52 views

ListPlot with Opacity strange outcome

Bug introduced in 12.0 or earlier and fixed in 12.3. Simply do this ...
2
votes
2answers
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 ...
0
votes
1answer
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 ...
0
votes
0answers
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 ...
0
votes
0answers
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 ...
1
vote
1answer
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 ...
4
votes
2answers
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 ...
5
votes
1answer
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 ...
0
votes
1answer
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 ...
0
votes
1answer
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 ...
5
votes
1answer
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 ...
0
votes
0answers
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 ...
4
votes
1answer
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 ...
4
votes
2answers
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 ...
1
vote
1answer
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 <...
3
votes
1answer
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, ...
3
votes
1answer
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 ...
1
vote
1answer
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 ...
4
votes
2answers
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 ...
0
votes
1answer
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 ...
0
votes
0answers
48 views

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

It includes adjusting the DPI of the image.
1
vote
3answers
104 views

Plotting a graph with legends that don't overlap the graph?

Consider: ...
7
votes
1answer
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[1], but the arrow end has ...
3
votes
0answers
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 ...
17
votes
3answers
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. ...
0
votes
1answer
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 ...
7
votes
2answers
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). ...
1
vote
1answer
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: ...
0
votes
1answer
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 ...
4
votes
2answers
419 views

On orthographic projection

Writing: ...
3
votes
2answers
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 ...
3
votes
1answer
44 views

LayeredGraphPlot: How to draw inputs and outputs edges without first and final vertex?

I would like to obtain entrance edge and output edges as in the following figure My code is the following: ...
1
vote
2answers
90 views

How can I change the default color of the basic geometric regions in 2D?

I like to use the basic geometric regions in Mathematica, like Parallelogram[...], Rectangle[...], ...

1
2 3 4 5
81