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
0answers
27 views

How to modify a plotted graphic

I have a set of data points which I fitted using the Mayadas-Shatzke model and then I plotted the fit. My code is: ...
0
votes
0answers
24 views

Replicating a PlotGrid without using Resources [duplicate]

I want to create stacked plots which have a shared x and y axis label. I found an article here from Wolfram, which does exactly what I want but uses ResoruceFucntion...
2
votes
2answers
55 views

Rotate and Show, strange error message

The following code works, but produces an error message that I do not understand. The message reads: "An improperly formatted option head (Rotate) was encountered while reading a Graphics3DBox. ...
0
votes
1answer
34 views

How to combine graphics inside a For loop? [closed]

How can I combine graphics inside a For loop? For example, the following yields a red rectangle: Graphics[{Red, Rectangle[{0, 0}, {1, 3}]}] But how can I get a ...
0
votes
0answers
16 views

Show ListPlot strange behaviour of label placement for small values of the y-coordinates

I do not understand the placement of the last label in the simple example ...
1
vote
1answer
52 views

Automatically labeling points appearing in graphics [closed]

I'm trying to automatically label my points pl with my text plt and plot this to Graphics[]. ...
2
votes
1answer
45 views

Strategies for making a cellular automaton puzzle

I am making a cellular automaton secret message puzzle for my kids, and am looking for help on strategies to make it. I am relatively new to Mathematica, thank you for your help! The puzzle is a grid ...
5
votes
3answers
221 views

Draw regular polygon (maximum n = 12) with semicircles on each side,painted black

I need to draw a regular polygon on n sides, n <13 for side L, L <11 in cm. with semicircles on its sides, completely black in such a way that I save it as a xxx.png image to print and cut out ...
1
vote
0answers
45 views

RegionPlot outputs System`ReduceDump`

I'm using Solve[] to find the solutions to a system of equations, then checking their stability in a Hessian using ...
2
votes
1answer
60 views

Graphing a circle with vectors/arrows

I have a question that i'm unsure of how to do. Making the two circles are not a problem but I'm stuck on how to proceed for step 2. Could I get some assistance please? a) Two circles centered at the ...
14
votes
2answers
292 views

Glowing weighted graph (network): vertices and edges

I am trying to find a way (desirably simple and performance/speed optimized for larger graphs) to do the following : Styling graph vertexes by glow-effect and its intensity depending on ...
0
votes
2answers
49 views

How can one “shorten” arrows to be drawn between two points but being a bit hemmed in, as not to overlap with the plot markers?

The problem arises when you want to connect two point markers in a diagram with an arrow. Just giving the ccordinates of the points to the arrow results in ugliness, as the arrow then overlaps with ...
1
vote
0answers
40 views

Custom arrowhead will not align properly

I am trying to put a custom arrowhead on an arrow I am drawing in a plot. My problem is that the (thick) line of the arrow is showing behind the arrow tip. So it seems like the arrowhead is aligned ...
1
vote
1answer
54 views

Change default ImageSize for all graphics functions programmatically only for the current session

How do I change the default ImageSize for all functions producing graphics programmatically for the current session (only)? Something close to an answer is given in https://mathematica.stackexchange....
1
vote
1answer
135 views

Plotting surfaces in 4D

So I am new to Mathematica and I will probably express myself badly, please let me know if I should specify the problem better. I have the following constraints over the list ...
0
votes
1answer
61 views

Getting Mathematica to consider the scale of an image

This question may not be well describe, but I will try to explain as best as possible. Suppose somebody gives me some image (say of a plot on the complex plane), and also describes the dimensions of ...
0
votes
1answer
23 views

How to Achieve Better Contrast with ColorFunction

I'm trying to create a plot of values of following structure and would like to visualize its vector length as a function of colour. ...
2
votes
1answer
120 views

Computing density of particles and distances from microscopic images

I am analysing microscopic particles images of the kind shown below, and primarily I am interested in learning whether in Mathematica one can extract structural properties of the particles using the ...
4
votes
1answer
59 views

How can I control the length of the line segments used in rendering a BSplineCurve?

Mathematica seems to render rational Bézier curves (drawn with BSplineCurve) using polylines whose segments can be annoyingly long, while polynomial Bézier curves (...
1
vote
1answer
43 views

Removing white space from GraphicsRow and configure FrameLabel

I have this code for three graphs shown side by side. They have the same x,y ranges: ...
6
votes
2answers
138 views

How to draw one-line Venn diagram?

This is the a list of set. ...
1
vote
3answers
104 views

Three-Set Venn Diagram with Varying Radii not Drawing Full Circles

Here is the code that I have: ...
6
votes
1answer
153 views

slow and jerky Graphics in 12.1.1 compared to older version 9.0

Consider the following piece of code ...
2
votes
1answer
63 views

How to find the number of cells that one point can be in?

I draw the attached plot drawn with the following code. Each color represents a cell. How can I find the average number of cells that one user (any point within the square) can be in? By average I ...
3
votes
2answers
318 views

How can I plot these figures?

How can I plot these kinds of figures, with Mathematica? The data is: ...
2
votes
1answer
37 views

Common AxesLabel for a Grid of 3D plots

I have the following plots ...
7
votes
3answers
225 views

How to stop Mathematica 12.1 from chopping off the axes arrows?

Using the following code, I make a simple graph that is exported to pdf: ...
1
vote
0answers
40 views

How to set the thickness of plot ticks?

I want to draw a plot with specific ticks. So I added the Ticks property. Now, I also wish to enhance the ticks, so I tried to manipulate that using ...
3
votes
4answers
245 views

3D plot with constraints

Given the 3D plot Plot3D[Sin[x y], {x, 0, 2 \[Pi]}, {y, 0, 2 \[Pi]}], how can one highlight the portion with $x+y=1$.
2
votes
2answers
49 views

How to add two labels to a point in ListPlot, and how to control the precise positions of those labels?

ListPlot has the option to label points using Labeled or Callout. At least those are the two ...
6
votes
1answer
129 views

How to create a plot of vectors emanating from the x axis?

I am trying to make a plot that looks something like the image seen below: So far I have the following code: ...
1
vote
1answer
85 views

Plotting two functions into one plot with two y-axes. Is there a built option for this in newer versions of Mathematica?

I am looking into possibilities to plot two functions into one Plot, but with separate y-axes. I came across several variants of how to do this when searching for ...
5
votes
1answer
110 views

Rendering graphics: UsingFrontEnd vs using a front end

I'm trying to understand how Graphics expressions are rendered. I create an invisible notebook, write a cell and evaluate it, then rasterize the notebook. ...
3
votes
1answer
77 views

How to draw two vertical lines into a Plot or ParametricPlot and fill / shade the region between them?

I will give an example of a regular Plot, but I also need this to work for a ParametricPlot. Say I have ...
0
votes
0answers
38 views

Outline Color in RegionPlot & Labeling

I would like to: change the outline color to be black, for both regions, rather than the current blue and orange. Is this possible? I would like to label the white area above the b2 = 3.1 line as &...
0
votes
0answers
147 views

How can I reproduce this correlation map based on data?

I am trying to produce a correlation map for some NMR experiment with this data. I tried to plot the data with Mathematica but the result was not close to my expectation. Hence, I tried plotting the ...
2
votes
1answer
48 views

Can I make the locators in a locator pane move over the whole pane?

I'm trying use LocatorPane to produce locators that can move anywhere in the entire row of text I am displaying and not just in one of the rectangles, which is what ...
1
vote
1answer
45 views

Table does not give out any output while Animate or Manipulate work [closed]

I was playing with this program and I noticed that I can use Manipulate or Animate, but Table...
6
votes
1answer
188 views

How to solve system of PDE's with complicated initial and boundary conditions

I am trying to solve the Cavity problem given in Paper by Mansour et al. with a physical model . System of PDE and B.C are . How can I impose boundary conditions like this? Code ...
4
votes
1answer
47 views

VoronoiMesh with boundary edges removed

I would like to create a Voronoi diagram without the boundary edges highlighted. This code gVD = VoronoiMesh[X, MeshCellStyle -> {{1, All} -> {Thick, Red}}] ...
4
votes
1answer
114 views

Drawing a “realistic” VoronoiMesh

Consider a set of points generated via Lloyd's relaxation algorithm ...
3
votes
1answer
51 views

How to represent a data list by arrows?

I have a code that builds a plot with 7 functions and mark 4 points. Each level of list data describes a function (see below). The curves are created from the "data" input from ...
3
votes
0answers
54 views

Aerodynamic Analysis on Mathematica

Are there any mods/addons that we can use to analyse the aerodynamics of certain objects visually? Also, is there any built-in thing on Mathematica that allows us to analyse aerodynamics?
1
vote
0answers
47 views

How do you define the domain and range of the variables for a plot?

How do I define the domain to be only reals and the range to be only complexes? Everytime I plot using ComplexPlot[], I get a C->C function so there are basically too many variables to plot and I ...
0
votes
1answer
25 views

Difficulty refactoring a graphics point from displaying a tooltip to a label when using show to combine point with a plot

I have a Plot[...] of a system of linear equations and a function graphicsPoint[...] that generates a graphics point to show ...
3
votes
1answer
79 views

How to generate blobs of a given circularity?

I'm trying to generate some "imaginary" geographic regions (think of it as islands, for instance), by generating random blobs/blots. Currently, I'm using Szabloc's blotc[] function. However, ...
5
votes
1answer
95 views

Merge vertexes that are close together in MorphologicalGraph

Suppose I have a image and I take its MorphologicalGraph by using the following code: ...
5
votes
2answers
167 views

Extract individual white parts of binarized image

Suppose we have an image, like so: and I managed to create its MorphologicalGraph by using ...
6
votes
1answer
40 views

Trouble with VertexLabel in RelationGraph

I have a bunch of high dimensional data and I want to use a graph to plot relationships among that data. To keep things small, say the data is ...
3
votes
1answer
305 views

Graphics Glitch or Modern Art?

I was trying to draw a simple surface and ended up with some modern art... if we start with a surface defined by a Gaussian shape and plot it, all looks well: ...

1 2
3
4 5
76