We’re rewarding the question askers & reputations are being recalculated! Read more.

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.

254 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
20
votes
0answers
751 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 ...
15
votes
0answers
556 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
1k 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
987 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/...
13
votes
0answers
236 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 ...
13
votes
0answers
934 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 ...
12
votes
0answers
174 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
133 views

Clarify when to use Style vs Directive vs List

I am confused about when to use a simple list of style options, the Directive function or the Style function. As shown below, ...
11
votes
0answers
387 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
178 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
294 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
46 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
95 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
249 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
136 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
140 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
92 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, ...
7
votes
0answers
256 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
103 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
141 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
131 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
284 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
111 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
203 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
234 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
87 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
281 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
72 views

ImagePadding -> Scaled inconsistency

Let us make a simple Graphics with Scaled ImagePadding specification and check the actual ...
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
1k 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 ...
5
votes
0answers
66 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
603 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
70 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
26 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
74 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 ...
4
votes
0answers
81 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
51 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
46 views

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

...
4
votes
0answers
164 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
58 views

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

IntervalSlider has a styling option Appearance -> ..., where possible options include ...
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
143 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 ...
4
votes
0answers
238 views

Size problems combining objects in a Graphics using Inset

The Problem I need to put together different graphics objects in a precise way inside a Graphics. Some objects are drawn directly by graphics primitives, some ...
4
votes
0answers
486 views

Export 3D plot or Graphics3D object as stereoscopic 3D .jps file

I recently came across some Matlab code to output a 3D graph as a stereoscopic left/right .JPS file, viewable e.g. with 3D Media Viewer, Stereoscopic Player or using any 3D television or beamer: http:/...
4
votes
0answers
333 views

Problem drawing a GeoPath polygon with GeoGraphics

I want to draw some polygons bounded with various geographic coordinates. For example, here is the code to draw a triangle between New York, Cape Town and Beijing. ...
4
votes
0answers
650 views

Minimalistic code challenge on Apollonian gaskets

I've been recently fascinated by the beauty, symmetry and mathematical richness of the Apollonian gaskets. So I felt myself challenged to see if it was possible to generate one in Mathematica with a ...
4
votes
0answers
250 views

Unnecessary and slow conversion between simple polygons and geometric regions

To my knowledge some (but not all) of the new geometric region functions in Mathematica version 10 require an additional step to convert from geometric shapes into regions. However this step Does not ...
4
votes
0answers
401 views

Memory problem with producing complex graphics of general type

The problem I am about to ask has appeared once here: Memory Leak in Frontend - anyone know a workaround?. However, in this question I would like to put it in a bit different context. Problem recipe: ...