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.

290 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
22
votes
0answers
857 views

ListContourPlot and ListContourPlot3D use better interpolation for arrays of values than for lists of tuples (i.e. {{x,y,z,f[x,y,z]}..}

From reading the documentation, it seems that ListContourPlot3D should work equally well on an array versus a list of tuples, ?ListContourPlot3D ...
16
votes
0answers
1k views

Convert Mathematica graphics to TikZ?

Is there a package to convert Mathematica graphics to TikZ code (for inclusion in LaTeX source files)? Such a package, dated 2016-01-30, is described at http://library.wolfram.com/infocenter/...
15
votes
0answers
584 views

Is there any way to export vector graphics with shading?

This has irked me for a while as I really feel its a significant shortfall in Mathematica's abilities but maybe I am missing something. I would like to export simple graphics with shading in a ...
15
votes
0answers
2k views

Circle with negative radius?

Bug introduced in 9.0 or earlier and fixed in 11.0.0 Why does this work: Graphics[{Circle[{0, 0}, -Pi/4]}] But this doesn't? ...
14
votes
0answers
1k views

How to export .mtl files for 3D textured objects

I would really like to deploy my textured 3D graphics in the web with sketchfab in my blog. Unfortunately, Mathematica only exports the shape of the 3d graphics, i.e. the .obj file, but omits the ...
13
votes
0answers
240 views

Tooltip/EventHandler misaligned with scaled graphics primitives they wrap

Bug introduced in 8.0 or earlier and persists through 11.3 It affects all event based wrappers for affected primitives. E.g. EventHandler. Which makes it a big ...
12
votes
0answers
184 views

Is ExportString defective in V11?

Mathematica doesn't do the best job of exporting figures with shading or transparency to vector graphics formats such as PDF. A common trick employed here and elsewhere on the web to workaround this ...
11
votes
0answers
432 views

How to wrap a crumpled paper over a surface?

My initial question was about the making of a crumpled paper. After reading this article suggested by J.M. and little more browsing (kind of random walk you do on a Saturday) I thought about expanding ...
10
votes
0answers
182 views

Why is 13 the smaller height dimension of a Graphics?

It seems that you cannot get a Graphics image with a height dimension less than 13. Trying to draw something and then asking for ...
10
votes
0answers
314 views

Wrapping text around pasted graphic

I would like to use Mathematica to create all my documents for my high school math class. I cannot, however, find a way to copy and paste a diagram (let's say from Geogebra) and then place it where I ...
8
votes
0answers
50 views

Styles inheritance stack for elements of a Graphics/GraphicsBox

You can skip to the bottom if you only care about the question. My original goal was to control FrameLabel color from a notebook level opposed to doing it ...
8
votes
0answers
102 views

What is the philosophy behind \[Rule] (a.k.a. `->`) for assigning options?

Today I was banging my head against my desk when I realized that the problem I was experiencing was due to having typed ImageSize[Large] instead of ...
8
votes
0answers
95 views

Artefact at joints within BSplineCurve of low Opacity

I want to eliminate the dots of higher opacity that occur at the joints within a BSplineCurve of low opacity. Small rectangles of greater opacity, shown below, ...
8
votes
0answers
275 views

GraphicsGrid Format Problem with SpanFromAbove

Bug introduced in 8.0.4 or earlier and persisting through 11.0.1 or later I believe this is a bug in GraphicsGrid. ...
7
votes
0answers
138 views

Possible Bug Inside Line + Graphics + PlotRange, Why and How to Fix It?

I work on Mathematica 11.0.0 I'm working on a ray tracing program and I need to visualize lightrays and their intersections. Everything works fine until today I tried to visualize two nearly parallel ...
7
votes
0answers
163 views

InterpolationOrder has no effect on ListContourPlot when the data is of the form {x,y,f[x,y]}

This is related to the issue brought up here, if you want to mark it as duplicate feel free to do so, but it is slightly separate. Take two sets of data, identical except for the form, ...
7
votes
0answers
260 views

Graphics3D flickers in Mathematica 10 and Linux

Note: Fixed in version 10.0.2. Bug present in version 10.0.0. In the official Mathematica version 10.0, I get a very weird behavior when I try to rotate a 3d graphics The moment I click on the ...
7
votes
0answers
1k views

Limiting the use of discrete graphics card on Mac

Apple's laptop running Mac OS have a pretty nice feature to make the battery last longer: the dynamically switch between the low-power integrated graphics card and the higher-performance dedicated ...
6
votes
0answers
81 views

ImagePadding -> Scaled inconsistency

Let us make a simple Graphics with Scaled ImagePadding specification and check the actual ...
6
votes
0answers
110 views

Is this a BarChart bug and is there a fix?

Trying to adjust the plot range in bar charts produces an unwanted result where the bars extend below the baseline/below the frame: ...
6
votes
0answers
157 views

Export of GraphicsRow to PDF is ugly

I have a problem with exporting GraphicsRow[{Plot, Plot, Plot,...}] object to pdf. The line is like ...
6
votes
0answers
132 views

Bug: FrontEnd crash with Locator, Arrow and Dynamic

Bug introduced in 10.1 or earlier and fixed in Mathematica 11.3 [CASE:3731068] It does appear that Locator is not behaving properly and can seemingly crash Mathematica's Front-end, and I have ...
6
votes
0answers
2k views

How to generate a 3D stream plot with stream rotation and compression?

Main Question In the Chinese TIEBA community, there is a quite interesting post that have real world application, so I’m going to translate it and post it here to see if anyone can give an elegant ...
6
votes
0answers
286 views

Mathematica 10.4 crashes when using too many font sizes

While working on How to make the digits of π go around in a spiral like this? I encountered a problem that Mathematica would crash at regular intervals with an internal self-test error, either ...
6
votes
0answers
118 views

Tooltips do not seem to work with InfiniteLine (ConicHullRegion) in 2D Graphics

Fixed in 10.1 The InfiniteLine functionality added to version 10 is very handy for obvious reasons, however a Tooltip added to ...
6
votes
0answers
214 views

Texture[] not working properly with Image AlphaChannel

I recently encountered a problem when combining multiple texture layers in an graphics object when the texture comes from an image with alpha channel. Apparently the alpha channel of the image passed ...
6
votes
0answers
247 views

some Graphics output do not fully render on the screen until an extra click is made into the notebook

Sometimes when using a command such as Grid and looking at the output, some of the actual lines (frame, gridlines) that make up the display will be missing on the ...
5
votes
0answers
126 views

plot and sum colors of the common region in hyper-graph?

For the two complex weighted hypergraphs {$G_{1}: w1$ for edge $(d_{1},d_{2})$; $G_{1}: w2$ for edge ($d_{1},d_{3}$) } sharing one vertex $d_{1}$, I use different color for the complex angle and ...
5
votes
0answers
236 views

How to export high dpi PDF graphics at a low physical dimension with small file size?

Exporting PDFs While it is seemingly obvious how to export higher resolution pdf vector graphics: https://mathematica.stackexchange.com/search?q=pdf+export+high+resolution There is nothing to be ...
5
votes
0answers
123 views

how to produce animated SVG

Let's say I have some animation stored as a series of frames in list, and I would like to export this so I can show the animation on a web page. I can produce an ...
5
votes
0answers
307 views

Code behind these Video Playback demos?

There are only two known examples of video playback (from a file) within a (non-cloud) notebook: Visualizations in Graph Theory with the Wolfram Language (at time 3:32) Mathematica and CUDA, SIGGRAPH ...
5
votes
0answers
88 views

Closed BezierCurve is cut in exported PDF or EPS

Bug introduced in 10.3 or earlier and persisting through 11.1.0 or later Exporting the filled Bézier curve to PDF or EPS yields ...
5
votes
0answers
72 views

What are the possible options for the Appearance option of IntervalSlider?

IntervalSlider has a styling option Appearance -> ..., where possible options include ...
5
votes
0answers
69 views

Bug with exporting Image/Graphics into CMYK JPEG?

While answering the question (123118), @RussLyons pointed out that exporting graphics and images in CMYK JPEG does not function correctly. For instance: ...
5
votes
0answers
716 views

Generating G-code from Mathematica

Has anybody generated G-code (used for controlling milling machines and plotters and other hardware) in Mathematica? High quality inexpensive plotters have reached the market and I would like to drive ...
5
votes
0answers
73 views

Visualise sets giving some relations on those sets

I'm not very experienced with wolfram, but I'm searching for a function that can basicly do the following. Giving some sets $A,B,C$ and some relations for example $B \subset A$,$C\subset B$. I would ...
5
votes
0answers
247 views

How to fix a PDF line rendering problem in V9

If I run this in V8 ...
4
votes
0answers
44 views

Why FilledCurve and BezierCurve or BSplineCurve do not fit

I want to draw the outline of a circle (it's actually the glyph period from Cascadia Code font): ...
4
votes
0answers
40 views

GeoListPlot - How can I create edges between points on a GeoGraphic object by clicking on them?

I'm attempting to use Mathematica to manually create a graph from a set of GPS coordinates (vertices). This graph will define the paths an autonomous rover will travel along. Here's what I have so far ...
4
votes
0answers
70 views

HatchFilling becomes gray for small aspect ratio Rectangles

I am trying to use the new to version 12.1 graphics directive HatchFilling. Here is an example: ...
4
votes
0answers
38 views

How to fix the legend and dotted edges in WolframCloud?

Following the problems in my previous question: How to get good images for Graph in Published Notebooks I found a way to fix the aliasing issue, apparently, the ...
4
votes
0answers
69 views

How to get good images for Graph in Published Notebooks

Consider the following Graph as an example: ...
4
votes
0answers
78 views

Obtain complete list of built-in graphical objects, and split them into groups?

I would like to obtain the complete listing of built-in graphical objects (which can be used in Graphics or Graphics3D) ...
4
votes
0answers
29 views

Change the FullSummaryGraphic size for deep neural networks

I am using the "FullSummaryGraphics" of a neural network: NetInformation[model,"FullSummaryGraphic"] After having the following result: I would like to modify ...
4
votes
0answers
96 views

Specify an SVG encoding algorithm?

This recursive function definition creates a number series that I'm interested in: f[y_][x_] := f[y][x] = Mod[10 f[y][x - 1], y]; f[y_][1] = 1 When applying it ...
4
votes
0answers
55 views

Exporting CMYK values

I am having problems exporting my objects as CMYK to either EPS or PDF in mathematica 11.3 on Windows. I have read the related question, how to export cmyk in eps. But simply this will not work, ...
4
votes
0answers
48 views

Export Graph to “Full Size” (as I see on screen)

...
4
votes
0answers
168 views

Weird rasterization artifacts

When I try to rasterize circle with modified border thickness I get weird artifacts Image[Graphics[{Thickness[.2],Circle[]}]] Anyone knows any workaround how to ...
4
votes
0answers
66 views

Interpolating or “absolutising” symbolic sizes for graphic primitives?

I often face the problem that none of the usual symbolic constants Tiny, Small, Medium, or <...
4
votes
0answers
155 views

No Way to paste a Picture from Clipboard under Linux?

As far as I remember, on a Windows PC in the old days of Mathematica 4 I could paste an image from the clipboard by just pressing Ctl-V. This seems to be no longer available on my Linux PC. If I try ...

1
2 3 4 5 6