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
4
votes
0answers
56 views

Cannot access ColorFunction in ListVectorDensityPlot

Working on a vector field, I'd like to use a ColorFunction dependent on both the vector direction and its norm. According to the documentation of ...
0
votes
0answers
10 views

How do you set Cell Properties so that sequential images overwrite each other in a single output cell?

This produces 10 output cells, but I would like it to be in just one cell so I can do a video screen capture. I'm working with 30,000 800x800 RGB images, and it completely overruns Animate and ...
8
votes
2answers
295 views

ListVectorDensityPlot plots outside the data in a very wrong way

I am plotting a vector field data set mydata where the background color indicates the vector orientation and its opacity for the vector magnitude. I use ...
2
votes
0answers
26 views

When displayed in a 1000 x 1000 window, why would a 1000 x 1000 image look more pixelated than a 500 x 500 image?

Yes, you read that correctly. I am especially concerned about the white pixels bordering the black curves. As you see, I have increased the line width 2-fold in the higher resolution image. This ...
0
votes
0answers
20 views

Trans in SciDraw is raising error upon usage of IntermediatePoints

I am trying to make a Level scheme with SciDraw, that is rather crowded. Therefore I would like to use the "Intermediate Points" feature to make the graphics more clear. My test sample is ...
3
votes
3answers
99 views

Can you dynamically display the value of the slider in Animate?

It would be nice to be able to see the value of t changing as the animation progresses even if it is updating so fast that you have to stop the slider to read the number. ...
1
vote
3answers
58 views

Changing Labels in Matrix Plot, DataRange flips Y labels?

I have a matrix, with "natural" indexes of 0-8. I'm using MatrixPlot to display my matrix. However, I'd like to fix the tick labels, to run from 0-8 instead of Mathematica's default of 1-9. ...
2
votes
2answers
88 views

How can I place multiple inset text boxes within the viewport produced with Show

I'd like to ultimately have 3 inset boxes for information of 3 different lines on my graph. In order to minimalise the example I've just attempted 2 here, but the result is the same, that only the ...
12
votes
1answer
621 views

Art on Mathematica: How can I export 4K resolution png images?

This question is solely based upon $[1]$ and therefore, the reading of $[1]$ could be interesting. How can I export the image created, by the code in the following, with high definition, beautiful, 4K ...
2
votes
1answer
74 views

How can I create a graphic array of wedges of cylinders (slice of pie)?

I'm trying to create an array of wedges of cylinders. So far I have been able to create an array of a full cylinder as shown in the next figure: Using the next code: ...
0
votes
1answer
35 views

Graph Plotting Error - NonLinearModel and 'neither a list of replacement rules nor a valid dispatch table' [closed]

I am trying to produce a nice looking graph from Mathematica. (if any background on that is required, I am happy to share, but I'll keep it short for now unless anyone is interested) Question: ...
1
vote
1answer
57 views

3d graph rotation

I want to rotate the VectorPlote3D of the following VectorPlot3D[{-y, x, z}, {x, -4, 4}, {y, -4, 4}, {z, -4, 4}, VectorScale -> {Small, 0.6, Automatic}] and ...
2
votes
1answer
31 views

Gaps in a continuous parametric plot problem

I attempted to plot a parametric plot using the following code: ...
9
votes
2answers
273 views

BoxWhiskerChart - how to show Quartile and other values

I have a question in respect of the BoxWhiskerChart. The default functionality of BoxWhiskerChart is that you mouse over it and ...
2
votes
4answers
384 views

Image to a graph problem

I'm trying to use MorphologicalGrpah to produce a graph, but I tried with a different graph. It does not print the exact graph. Is there a way to fix it? Is there a program where I can draw a graph by ...
3
votes
1answer
140 views

Code for a color bucket fill (seed fill) of a bounded irregular area?

In images like the one shown here, I would like to be able to pick an x,y coordinate and fill the bounded interior with a specified color. That functionality is well known in PhotoShop and GIMP, but ...
10
votes
2answers
740 views

Art on mathematica with filled circles and straight paths: how can I reproduce minimalist suns?

I would like to know: how can I construct minimalist images like this one?
1
vote
1answer
76 views

Plot Styling Errors (PlotLabel, PlotTheme, Inset not appearing)

Question: I'm trying to pull together a graph with labelled axes, a title, and an inset box with information relating to the plot such as the y-intercept (A in this code) and it's uncertainty. However,...
1
vote
2answers
188 views

Export Graph data in text format

How can we export the data in excel of the following streamlines and contour plots to plot in Tecplot? ...
0
votes
0answers
28 views

Display more outputs inside Module and Which

As it can be seen in the following piece of code, i would like to display more outputs which are inside a Module, part of a function definition. In turn this is ...
5
votes
2answers
89 views

How can I export a Dataset with graphics as an Excel file?

I would like to export a Dataset to Excel. The Dataset contains graphics. But the following does not work: ...
5
votes
2answers
143 views

Adding texture to `Tube[]`

Continuing from here, I would like to Texture lines with thickness. I tried using the normal and the binormal from ...
5
votes
2answers
337 views

Mathematica Code to create geometries

I want to create geometries. How to create shapes like this in Mathematica?
0
votes
1answer
52 views

Manipulating lists based on conditionals and 3D plotting the smooth surface that bounds a list of points

First of all I want to create a list of evenly spaceed points in a cubic region in $\mathbb{R}^3$. Then I want to keep the points in this list which satisfy a certain condition, i.e. a function that ...
2
votes
2answers
167 views

Recreate specific plot in Mathematica

Can anyone help on this ? I did this ...
3
votes
2answers
231 views

how to draw a circle using disks, the radii of the disks are 1, while the radius of the circle is $\sqrt 2 + \sqrt 6$

How to draw a picture like this? Suppose the centers of the disks are located on a circle of radius $\sqrt 2 + \sqrt 6$.
2
votes
2answers
60 views

Obtaining the other axis value

I'm new at coding and I got this simple differential equiation and the plot of this function involved, I can obtain the value of the dependant variable based on the independant varible as usual, what ...
3
votes
1answer
49 views
0
votes
0answers
26 views

Export multiple Graphics3D objects combined using Show in a single 3d format file

Suppose I have two (or multiple) Graphics3D objects that I am displaying together using Show: ...
1
vote
0answers
51 views

Using DiscretizeGraphics on a Graphics3D object that is produced by combining multiple Graphics3D objects

Consider the following two Graphics3D objects that can individually be meshed using DiscretizeGraphics. The first is a cone (...
5
votes
2answers
107 views

Two functions in one plot with different y-axis scales?

I have two function that I plot over the same domain. They have quite different ranges. I wanted to show them together in one in one plot which displayed both over their full range. I solved the ...
0
votes
1answer
34 views

Unwanted scaling when overlaying GraphicsComplex graphic onto image?

I have a collection of complex hull meshes, which I would like to overlay onto an image. These complex hull meshes were obtained from the original image, and I have verified that their mesh ...
0
votes
0answers
62 views

Rotate 120-Cell Animation

I have seen some code (https://mathematica.stackexchange.com/a/9593) to create an animation of a hypercube rotating, but I'm really struggling to understand how it works. I find it quite complicated. ...
15
votes
5answers
965 views

How to create a spiral using Golden Triangles

Working with students in a pre-calculus class, an application of the sine law. They are working on a question that has them create a Golden Triangle (A golden triangle is an isosceles triangle in ...
1
vote
1answer
95 views

Is it possible to directly translate or rotate a Graphics or Graphics3D object?

I have seen the documentation for Translate (https://reference.wolfram.com/language/ref/Translate.html), which allows one to translate a graphics primitive (like <...
0
votes
2answers
77 views

How can I mark the intersections on the x axis of the following graphs?

Im trying to reproduce the following graph: I have the parabolas graphed, but I want to indicate the intercepts with the x axis by some point or cross, also I want to eliminate the numbers and the ...
0
votes
1answer
44 views

Plot markers getting compressed in double y -axis plot

I have to plot a list plot with the double y-axis; range y1 = {0, 125} and range y2 = {100, 900}. I have to use markers for the ...
2
votes
2answers
91 views

How can I show the regions between the grid lines in a RadialAxisPlot in different colours?

With the following: RadialAxisPlot[{3, 8, 5}, AxesLabel -> {"a", "b", "c"}] I obtain the expected output: But I would like the ...
4
votes
2answers
112 views

Determine and plot major and minor axes of ellipse

I have an element (El) constructed from a list of nodal coordinates (Nodes). Note: The list of nodes can be arbitrarily long. I then create a minimal area ellipse that encloses all of the node using a ...
2
votes
0answers
44 views

Can a likert score questionnaire be programmed with mathematica?

I am a phD student and as part of my investigation I will be applying a Likert style questionnaire. The answers give will pick from a scale 1 to 5. Can I program the questionnaire, text, and the 1 to ...
4
votes
1answer
98 views

Dynamic plots using cpu rather than gpu

I'm trying to graph a few dynamic and animated graphs but am running into some issues. Whenever they are moving, the graphs loose almost all clarity: On checking the task bar, it seems like the ...
8
votes
1answer
264 views

Ugly streaks caused by Arg in a contour plot

I had a more general question about a similar problem more than two years ago, Getting rid of discontinuities in plots caused by square roots, logarithms, `Arg`, etc, which got lots of interesting ...
6
votes
1answer
110 views

Texture prevents JoinedCurve from closing

Bug introduced in 11.3 or earlier and fixed in 12.1 I am running Mathematica 11.3 and would like to see if this behavior is still present in newer versions of Mathematica before submitting a bug ...
2
votes
1answer
47 views

How to get meaningful coordinates when a plot is embedded in GraphicsGrid/Column

This code produces a DateListPlot such that when I select Get Coordinates, hovering over a point with the mouse will generate a tooltip displaying the timestamp for ...
2
votes
1answer
35 views

BarChart has incorrect partial Graphics elements?

I'm trying to create a bar chart that displays job evaluation ratings visually. Rather than use a bar, I'd like to show each rating number as a discrete unit, a rounded rectangle. As per Mathematica ...
7
votes
4answers
143 views

Fill regions in DateListPlot

Let's use some sample date data ...
0
votes
1answer
86 views

Frame Ticks and Tick Marks Issue

Following code from frame tick label, with a slight modification in the FrameTicks->{{}{}}: ...
0
votes
1answer
62 views

How can I merge these two graphs?

Please I would like to plot, in the same graph, these two curves. How can I do that? ...
1
vote
1answer
55 views

How can I position an arrow and some text between two plots in a GraphicsRow expression?

I want to combine three graphics using the code ...
1
vote
1answer
34 views

Rasterize a graphic with Background None gives unexpected result using GradientFilling

I would like to combine several images with ImageCompose using Images and rasterized graphics. When I create a Disk with ...

1 2
3
4 5
80