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,829
questions
3
votes
1
answer
144
views
Do we have an eyedropper?
Assume you are not in Manipulate or Animate or anything dynamic. It would be really nice to be able to touch a color in an image and seed colors into ImageRecolor. Have I overlooked a function?
2
votes
3
answers
202
views
dynamic `FramelLabel` and `Legend`
How to create a dynamic FramelLabel and dynamic Legend for various parameter y1? ( for the commands ...
0
votes
3
answers
151
views
AbsoluteOptions not working with PlotPoints?
AbsoluteOptions does not work well with PlotPoints, for example:
...
0
votes
0
answers
37
views
GraphicsGrid $\to$ Beep "The shared stylesheet "Stylesheet-review-topics.nb" could not be \ found. The default stylesheet will be used instead."
12.0.0 for Microsoft Windows (64-bit) (April 6, 2019)
I have a notebook in which using GraphicsGrid causes a beep "The shared stylesheet "Stylesheet-review-topics.nb" could not be found....
4
votes
0
answers
68
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 ...
1
vote
1
answer
195
views
How to align Text within Graphics?
Consider the code
...
2
votes
1
answer
151
views
GraphicsRow with labeled plots resizes plots?
Here is a simple example:
a = Plot[x^2, {x, 0, 10}]
aa = Labeled[Plot[x^2, {x, 0, 10}], "a", Top]
GraphicsRow[{a, aa}]
Which gives the following image ...
1
vote
0
answers
113
views
Is there a simple method to make a 3D cube from six square matrices?
I'd like to use Graphics3D to display a cube with an image on each face of the cube. Before I start padding x,y matrices to make x,y,z matrices, I thought I would ask the forum for any other ...
4
votes
0
answers
204
views
Dynamica Mathematica package for the book "Discrete Dynamical Systems and Difference Equations with Mathematica" by Kulenovic and Merino [closed]
Cannot download the package from http://www.math.uri.edu/Dynamica/ (shows a 404 Not found error), can someone send me the package in a .zip file?
I have the book, the book refers to the above link to ...
0
votes
0
answers
122
views
Problem with Grid inside the GraphicsGrid
I am trying to put table in the form of Grid into GraphicsGrid. Here is my code:
...
1
vote
2
answers
79
views
For legacy code, is there a better patch for RasterArray than Raster?
Notice the time calculation around the graphics in the code below. That is taking 6 seconds which seems like a problem.
...
5
votes
2
answers
259
views
Copy graphical style of Slider2D
Slider2D@{.5,.5} makes a draggable orange point with gray lines in a square.
I want to use that dot in my plots. I also want to use that color and thickness of ...
8
votes
2
answers
341
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 ...
6
votes
1
answer
202
views
Polygon Graphics without edge feathering
If you look closely at the colors used with a simple polygon graphic in Mathematica, they feather the colors at the edge to make for a nicer graphic, but I don't want that for my project. I want to ...
2
votes
1
answer
43
views
(Mathematica newbie) How to avoid this error ? Animate with predefined and nested functions [closed]
So im trying to do the Atwood machine for project and I try to do it as simple as possible. I defined a graphical functions for elements and also a function of move equation.
...
2
votes
1
answer
164
views
Obtaining contours of the image
I would like to obtain contours(outline) of the image (black and white thin curve version of the original image). Outline that would just look nice.
First attempt
I first try using ...
0
votes
0
answers
199
views
Problem with special characters when exporting to pdf
I'm working on Ubuntu 16.06.7 LTS X Mathematica 12.1.1. Very recently, special characters do not display correctly anymore once exported to pdf. Here comes a basic working example:
...
1
vote
0
answers
51
views
Is there a work-around for SetOptions having no ImageSize option?
I'd like to set the output cell size to a specified height and width or to
full screen as F12 does.
...
0
votes
1
answer
30
views
Why doesn't Alignment->Center work in SetOptions?
This follows on my previous question that was kindly solved by a fellow member.
...
2
votes
0
answers
74
views
Strange behavior when placing a Legend on a GraphicsRow, Column or Grid
Consider the following example:
...
0
votes
0
answers
33
views
How do you center a graphic in a cell on a full screen black background by code rather than menu items?
I have a 1080 x 1080 dynamic MatrixPlot which centers nicely on a black background, full screen height and width, by the use of menu items. I would prefer to set up that cell by code w/o the use of ...
0
votes
0
answers
15
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 ...
2
votes
0
answers
32
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 ...
3
votes
3
answers
282
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
3
answers
339
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. ...
13
votes
1
answer
440
views
Constructing a ternary histogram
so this is currently what I'm building
...
1
vote
2
answers
800
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?
...
2
votes
2
answers
390
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 ...
2
votes
1
answer
162
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:
...
12
votes
1
answer
807
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
1
answer
115
views
3D Arrow path along a surface
I have the following two surfaces, created by the following functions
...
1
vote
1
answer
47
views
Problems exporting graphs with descriptions to raster image files
I'm generating graphs with descriptions for upload to a website that only accepts raster image files. I can produce what I'm looking for in Mathematica 12.0's font-end using either ...
0
votes
1
answer
44
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
1
answer
121
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,...
3
votes
1
answer
186
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 ...
6
votes
2
answers
313
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:
...
4
votes
1
answer
183
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 ...
1
vote
1
answer
185
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 ...
9
votes
2
answers
349
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 ...
5
votes
2
answers
1k
views
How can I insert an EPS file exported from RegionPlot into MS Word?
I generate a figure using RegionPlot and then Export it as "EPS". When I insert this picture ...
8
votes
3
answers
3k
views
Part of an Image cut/lost when exported to EPS file
When making .EPS image files for publication, I tried to assemble several Graphics by Grid. For example, suppose I have:
...
2
votes
4
answers
437
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 ...
2
votes
1
answer
51
views
Gaps in a continuous parametric plot problem
I attempted to plot a parametric plot using the following code:
...
10
votes
2
answers
898
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?
7
votes
1
answer
306
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.][1] with a physical model [![physical model][2]][2].
System of PDE and B.C are [![enter image description here][3]][3].
How ...
1
vote
1
answer
114
views
How to draw a graph with background in dark, and vertexes in light?
I have a graph gph as below:
gph = Graph[{1 -> 2, 2 -> 3, 3 -> 1}]
Currently, the background is white, and the ...
55
votes
8
answers
9k
views
How to plot ternary density plots?
How can I get a ternary density plot just like the plots from OriginLab?
ContourPlot and DensityPlot seemingly can accept the <...
20
votes
7
answers
3k
views
How to texturize a Disk/Circle/Rectangle?
The documentation for Texture states that "other filled objects" can be texturized:
Texture[obj] is a graphics directive that ...
5
votes
2
answers
378
views
Mathematica Code to create geometries
I want to create geometries. How to create shapes like this in Mathematica?
2
votes
2
answers
372
views
Recreate specific plot in Mathematica
Can anyone help on this ?
I did this
...