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,138 questions
Filter by
Sorted by
Tagged with
87 views

Mesh Control Problem

I am having trouble combining two graphical objects. The problem has to do with controlling mesh lines. The simplest failing example is combining a circle graphics primitive with a RegionPlot. Either ...
47 views

Plot markers size, shape and placement in ListPlot

I have the following test data ...
95 views

Bloch ball for a given transformation: Applying transformations to regions

How can we apply transformations to Regions in the Wolfram language? For example, given the transformation $r_x \rightarrow r_x\sqrt{1-g}, r_y \rightarrow r_y \sqrt{1-g}, r_z \rightarrow g + r_z (1-g)$...
746 views

How can I move around a circle and count the number of points inside it?

I have the following data: ...
112 views

How to use Manipulate with ListLinePlot

I'd like to run Manipulate with 0<r<=4 that preserves the ListLinePlot of the recurrence table given with the colors shown. I'm looking to use the autorun feature in Manipulate to show how the ...
139 views

ImplicitRegion does not work in simple case

Why doesn't this work: RegionPlot[ImplicitRegion[1 == 0.2 x + 0.5 y, {x, y}]], while this, which is almost the same works: ...
45 views

ComplexListPlot not ploting [closed]

In a nutshell i have to plot a sequence of complex numbers to roughly see if it converges or not. I've created the list using the following ...
28 views

How to deploy cloud application that graphs two companies net profit

What I want to do is to deploy a cloud application that would compare two stocks and (for bonus if it is possible) to also compare the net profit of two companies on a graph. I tried: ...
81 views

New offset Dashing argument in 12.3

After finding out that in 12.3 two new optional arguments have been added to Dashing, I decided to have a look at them. Unfortuantely, I don't understand the way ...
77 views

How to get neighbor lists in the same order/orientation from a periodic IGTriangularLattice[] graph?

Using IGraphM, I want to get the VertexComponent[] neighbors around all nodes, in a periodic IGTriangularLattice[] graph. To do ...
328 views

How to draw arrows of certain length from a point, at a certain angle?

What's the specification to draw arrows of a certain length (from a reference point), at a given angle? Say, I want to draw an arrow of length 1 at 0 degrees, and one of length 0.5 at 90 degrees, each ...
64 views

is there a way to put the labels on this pie chart (e.g. {"c1", "c2", "c3"}) at a distance from the origin on the slices between "RadialCenter" and "...
62 views

Graphics with frame labels written in terms of a parameter

Assume that variable pointList contains the coordinates of some random points, each of which is expressed in terms of L, for ...
168 views

How do I plot (1,1) (2,2) (3,3) and so on, on a Polar Plot?

I recently downloaded Mathematica and am extremely new to the software. To start off, I wanted to work with Polar Coordinates and Archimedean Spirals. I want to be able to graph a continuous spiral ...
79 views

Why do Spheres with negative radius appear dark?

If I run the following, Graphics3D@{Blue, Sphere[{0, 0, 0}, 1], Sphere[{3, 0, 0}, -1]} I find that the positive radius sphere is properly lit as one would expect, ...
94 views

High quality Plot 3D

I have the following definitions ...
44 views

Graphics3D default properties? [duplicate]

I realized that it is impossible to reproduce default sphere only by declaring its color. ...
79 views

Plot two square lattices on top of one another

I plot two square lattices where one of them is rotated by 30 degrees. The Mathematica command to generate them is ...
85 views

Automatically redraw Plot once Locator has changed

I have a Dynamic inside LocatorPane which provides a value to be used in several other places. The idea is to have a Plot that ...
76 views

Producing a closed 2D parametric region

I would like to create a 2D contour plot inside a closed region where the latter is produced by generating a parametric plot of a piecewise parametric function and then using ...
866 views

How to make figures in a casual, old-fashioned style

I'm writing a math textbook and use Mathematica to make figures. However, like all modern software, Mathematica produces perfectly crisp mathematically accurate figures. Meanwhile, I feel that old-...
132 views

Plot or draw a differential geometry graph in Mathematica?

I want to draw a differential geometry diagram, but I don’t know how to draw it. I can only draw graphics like the first picture. There are many differential geometry diagrams in textbooks. What tools ...
171 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 ...
181 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 ...
116 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? ...
118 views

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

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. ...
43 views

Add labels to points based on variable names

I have a list of points, and from them I am drawing a polygon: ...
49 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 ...
68 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 ...
64 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 ...
53 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......
95 views

Epilog outside the plotting area

I'm trying to represent the projection of a point on the axes of a plot. ...
129 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 ...
71 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 ...
62 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: ...
61 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 ...
83 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 ...
44 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 ...
63 views

ListPlot with Opacity strange outcome

Bug introduced in 12.0 or earlier and fixed in 12.3. Simply do this ...
80 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 ...
42 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 ...
43 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 ...
39 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 ...
62 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 ...
149 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 ...
49 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 ...
45 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 ...