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
2
votes
1answer
52 views

How to get rid of some meshes in ListDensityPlot

I have some data that needs to be represented using the function ListDensityPlot, for example : ...
5
votes
3answers
186 views

Ideas for colorfully and clearly highlighting graph edges according to weights

I am trying to figure out a way to include edgeweights in the visualisation of a graph in Mathematica, to find an idea for the drawing such that even for relatively large node numbers the graphs ...
1
vote
1answer
41 views

Place axis label at end of axis in Plot3D with axis origin

I would like my axis labels to appear at the ends of my axes (much as would happen in a 2D plot) while using Plot3D and placing my ...
4
votes
2answers
139 views

How can I get high precision circle drawing in Graphics, across ten orders of magnitude

I need to visualize some fractal circle arrangements where tangent circles can vary by ten orders of magnitude. In such cases the circles are not being drawn as tangent. Example: The red and blue ...
1
vote
0answers
57 views

Use country flag in chart style for a bar chart

I am creating a stacked bar chart from 2017 using the following data set ...
2
votes
3answers
118 views

How can I slice one plane from a VectorPlot3D to get a stream plot?

I am analyzing a system of ODEs in three equations/three variables, and I have a linearized system $$\begin{bmatrix} x' \\ y' \\ z' \end{bmatrix} = \begin{bmatrix} -1 & -1 & 0 \\ 0 & 2 &...
4
votes
4answers
196 views

How to find image of a complex function with given constraints?

I am very new to Mathematica. I have started learning it only last month. I would like to graph the image of some complex valued polynomials with some provided conditions. For example: $$ p(z_1,z_2,...
1
vote
1answer
66 views

Having trouble solving a particular differential equation [closed]

I have the following equation: $$\frac{f(x)}{f'(x)}\left(f(x) + \frac{1+(f'(x))^2}{f''(x)}\right) = c$$ where $c$ is a constant $> 0$. Mathematica handles this well and I'm able to plot it just ...
1
vote
1answer
74 views

RegionPlot of annulus gives a mesh

So I tried plotting an annulus in two ways: RegionPlot[Annulus[{0,0},{a,b}]] Graphics[Annulus[{0,0},{a,b}]] Why does RegionPlot give a fractal looking thing? (...
1
vote
1answer
28 views

How to fix resizing between Graphics and Plot when using Inset

I have the following code: ...
1
vote
1answer
57 views

Digital display symmetry

The Wolfram Demonstrations Project has a digital display. In the Math 9 text I am using, they ask this question. The 24-hour clock represents midnight as 00:00 and three-thirty A.M. as 03:30. ...
3
votes
4answers
245 views

How to get regions to plot as graphics?

I want to put an annulus in my graphics object. How can I format a region difference into a graphics primitive? ...
3
votes
1answer
42 views

How to keep figure in Graphics to fixed size

I have the following code: f[u_] = Graphics[{Circle[{0, 1}, 1], Circle[{2 Sqrt[u], u}, u]}] Manipulate[Show[f[u]], {{u, 0.5},1,10}] Now, if we try the slider, ...
1
vote
2answers
56 views

plot line, combine graphics and Plot in Maxwell distribution

i'm trying to plot Maxwell distribution and draw a line where average speed varg, most probable speed vm, and rms speed vrms, and label those lines. my struggle how to plot these lines and combine ...
0
votes
2answers
84 views

Why are these plots not the same?

I have the following code: ...
1
vote
0answers
24 views

Text misalignment in vector graphic format export

In converting a number of old notebooks into a format for e-readers, Mathematica has some issues with vector formats. SVG export would have been ideal to use, but the exporter fails to recognize, for ...
12
votes
1answer
287 views

Packing arbitrary shapes

I'm looking for a general method of packing any set of 2D glyphs. For example, say I had 30 randomly transformed english characters: ...
5
votes
3answers
277 views

GraphicsGrid with a Label for each Column and Row

Is it possible to use GraphicsGrid and do something like this? $\begin{array}{cccc} \text{X} & Label1 & Label2& Label3\\ Label4 & Plot1 & Plot2&Plot3\\ Label5 & Plot4 &...
2
votes
1answer
145 views

Problems with plot interference of two waves

I'm trying to make motion plot interference of two waves i used lines to represent amplitude and wave envelope separately. This works for the traveling waves, but no the interfering wave. i'm ...
2
votes
1answer
45 views

Graphical output problem when using ParametricPlot [closed]

I'm currently trying to see the impact of one parameter on an equation. To do so, I plot the results of my equation following against a range of values for this parameter by using ...
1
vote
0answers
32 views

Low quality when copying bitmap through Context Menu

The easiest method to share your immediate MMA results to non-MMA users among your peers is to just copy the result onto an email and send it. Figure below shows a ...
0
votes
0answers
63 views

Pixel-wise image manipulation

I downloaded an image from a website and imported it to Mathematica ...
2
votes
1answer
58 views

How can I apply the FillingStyle across the whole graph? [closed]

I want to have purple dashed line for my stem plot, as is shown here but when I tried to set the options in ListPlot accordingly ...
0
votes
0answers
49 views

LayeredGraphPlot with Tooltip

In the Tooltip I want to change LinkHand for an image of a medium sized clock, but I get an error. In the following image I ...
10
votes
1answer
211 views

Constructing a ternary histogram

so this is currently what I'm building ...
3
votes
1answer
206 views

How to increase the accuracy of a plot

I have the following code below: ...
3
votes
2answers
61 views

How can I plot two parts of Möbius strip bonding together?

How can I plot two parts of Möbius strip bonding together like the following picture? The parametric equations: ...
2
votes
1answer
57 views

How to force ListPlot to print the new curve while keeping the old one

I would like to create a graph using ListPlot which prints new dataset every time the button is evaluated (based on the value given in ...
2
votes
2answers
147 views

How to plot this group bar plot?

I want to generate a barplot with the following characteristics. There are 5 users in the system. Each user has a demand. There are 2 suppliers. Each supplier tries to meet user demand as closely as ...
1
vote
1answer
67 views

Mathematica only graphs the upper part of my cylinder

I have this code which first is supposed to make random points, draw lines through the points and then make these lines radical axes of cylinders. I have two problems with my code. First, it only ...
1
vote
2answers
135 views

MapThread conflicting with DynamicModule

Cross-posted: https://community.wolfram.com/groups/-/m/t/1625808 Answer posted on Wolfram Community I'm creating an interactive UI which allows the user to import data from a spreadsheet, perform ...
1
vote
0answers
44 views

Scale on one coordinate [closed]

I read many examples but I could not fix my code unfortunately. Can you please help me and correct the code to extend x-axes so I can see the picture better. ...
7
votes
3answers
111 views

How to convert a ListContourPlot into a primitive usable with Graphics3D?

Consider a dataset such as the one you can find here. Using ListContourPlot on this dataset we get something like the following: ...
3
votes
3answers
158 views

Cutting a section from a sphere by planes

I want to plot and find out the section of a sphere remaining after putting constraints in terms of cartesian planes. How it can be done? For example, if I have a sphere of $r = 1$, and I put the ...
1
vote
2answers
86 views

Preventing “-Graphics-” Output from ListPlot[] Command

Whenever I try to create a Graphics object in a Mathematica notebook, the output is always "-Graphics-". I have searched and found others who had similar problems, but attempting to implement these ...
4
votes
1answer
73 views

How to get point coordinates from a plot in Mathematica v11?

I have been using the points of Mathematica plots for more than 25 years and it suddenly does not work any longer in version 11: ...
11
votes
2answers
413 views

Is it possible to rotate the Isolines on a Surface Using `MeshFunction`?

This came up in a different context but some expertise in 3D surfaces or the graphic options would be appreciated. I'm trying to extrapolate the curves from any given surface and things seem to be ...
3
votes
2answers
103 views

Putting a vertical line in each Histogram using GraphicsGrid

I'm using GraphicsGrid to show several histograms. In each histogram, I would like to show 2 vertical lines on the 2.5 and 97.5 percentiles. If I had an isolated histogram I would use Line, and Show....
3
votes
0answers
60 views

Is there an easy way to slant / angled dividers in TextGrid or Grid?

Is there an easy way to add angled dividers in TextGrid or Grid. Consider the following: One fake way would be to use the ...
5
votes
1answer
129 views

How to have a different style for edges of a triangle

Consider the following triangle. Graphics[{EdgeForm[Directive[Thick, Red]], Gray, Triangle[]}] The EdgeForm is defining the ...
8
votes
2answers
391 views

Branching points detection in processed image

I want to get the branching coordinates from a computer-generated image like this one: After SkeletonTransform and Pruning, I ...
3
votes
2answers
138 views

Carnot cycle diagram

Note: I have adopted and modified code taken from Wolfram demonstration page. I want to achieve something similar to the following figure: I use the following code: ...
3
votes
2answers
296 views

“Graphics is not a Graphics primitive or directive.”? [duplicate]

I looked through the forum but none of what I've found is helping. ...
11
votes
1answer
181 views

Option Lighting in the Show function does not work

Bug introduced in 11.2 or earlier and persisting through 12.0 There are something wrong when I try to evaluate the example from Lighting Docs, here is the code: <...
3
votes
3answers
91 views

How can I put common frame ticks on the leftmost of a row of graphics?

I have a function which plots a response behavior of model variables holding a reference value constant (the green dot in the examples below) over a common PlotRange (achieved by plotting the ...
4
votes
3answers
265 views

Converting a list of colors into an image

I want to manipulate colors, and merge the resulting vector and rasterize it into an image, controlling the resolution of the pixel. E.g. I tried to: But what I would like to have is an image of 3 ...
8
votes
2answers
393 views

How do I remove artifacts from my ContourPlot3D Valentine?

My version (below) of the "Valentine Formula" that appeared in today's New York Times, has some ugly artifacts that don't appear in the NYT (Java) version: How do I remove these artifacts? ...
0
votes
0answers
22 views

exporting graphics has missing features in pdf format in 11.0.1

I am creating graphics with the following code ...
0
votes
0answers
21 views

Facing difficulty in placing the text In graphics3D

Question 1 I have a cube in which I have to represent the corner of the cube with some text. But I am finding difficulty in placing, I don't want It to be exactly on the corner, I just place in a ...
1
vote
1answer
120 views

Combining Graphics, Graphics3D, and ParametricPlot3D

I'm trying to generate a figure similar to the first figure of enter link description here, so I tried to draw a torus, a disk, and a tube which is tangent to the torus. The disk must be inside the ...