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 ...

learn more… | top users | synonyms

7
votes
1answer
493 views

How to map rotate, pan, zoom to manipulate controls

I am wondering if there is a way to restrict the motion of the rotate mouse cursor in when moving around a 3d plot. For example, I want the y direction of the cursor to correspond to pulling the z ...
1
vote
1answer
61 views

Another one problem with legends on GraphicsGrid

I have used ListLinePlot to generate this grid of plots: and I want to add a legend in Row Layout below this grid. My code, has as follows: ...
36
votes
0answers
1k views

How to construct a treemap using non-rectangles?

I've written the standard version of a tree map (a graphic that shows nested data) and I'm looking to improve on this layout by switching to different types of polygons or perhaps circles. Can anyone ...
8
votes
0answers
468 views

Dual complex integral over implicit path using contour plot

Context I am interested in doing double contour integral over paths which are defined implicitely. For the sake of debugging, let's assume its $$\oint_{\cal C}\oint_{\cal C} \frac{1}{u\, x} d u d x$$ ...
7
votes
0answers
249 views

Caching of Graph Graphics

In this answer, Simon Woods concludes that when you display an expression with head graph more than once, something is getting stored somewhere. I looked into it too and found out this only happens if ...
7
votes
0answers
193 views

How to style and position VerticalCallouts and RadialCallouts

Here is a pie chart with a labels placed with a "VerticalCallout" ...
6
votes
0answers
712 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 ...
5
votes
0answers
93 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 ...
5
votes
0answers
130 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 ...
4
votes
0answers
118 views

Getting EPS imports to respect the original fill rule

One major problem in my attempt to answer to the CountryData flags question is that the way Mathematica handles filled curves differs from the way SVG and EPS style editors do. The latter two have the ...
3
votes
0answers
129 views

Method Shrinkwrap Messes up editting Graphics

If you try resizing or moving the Inset in the following interface, the Graphics becomes incredibly jerky and borderline ...
3
votes
0answers
109 views

Why do vertex labels disappear when I edit with drawing tools?

I'm trying to change the text and arrow style in GraphPlot using the drawing tool, but the the vertex labels disappear when I do that: ...
2
votes
0answers
86 views

How to restrict the mouse cursor to stay within a box?

I'm trying to use Mathematica to write small games, and I find that it would help to restrict the player's mouse into the game window (just like other games do). Is there any way to achieve this? ...
2
votes
0answers
186 views

Visualising Special Relativity

Mathematica newbie learning by doing (or not so far, in this case). Problem: Special Relativity - consider two inertial frames $A$ & $A'$ in relative motion. At a time $t0$ as measured in $S$, ...
2
votes
0answers
124 views

Mesh and ParametricPlot

Is this a bug, or something going over my head? When using the following code, nothing "special" happens: ...
2
votes
0answers
78 views

How do I incorporate metadata using Export?

I have Export["file.png",codeThatMakesAGraphicsObject[],"PNG"]; and want to embed some specific metadata information. Is there a simple way to do that? Note ...
2
votes
0answers
111 views

I am not able to plot legends in list density plot using c program. Getting blank legend

I have tried to load the "PlotLegends'" package. Here is my code, ...
2
votes
0answers
113 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: ...
2
votes
0answers
113 views

CMYK colour using Drawing Tools

I'd like to use the Drawing Tools palette to draw objects in CMYK colour. The only way I seem able to change the colours of these objects is to use the window shown below. Edit Is there a way to ...
2
votes
0answers
163 views

How can I fix my keyboard-free panning?

I'm trying to make a graphics display on a touchscreen device in Mathematica. This means that there will not be a keyboard available for functions such as Panning and Zooming. Because of this, I have ...
2
votes
0answers
89 views

How can I set id attribute of elements when I export an SVG file?

Suppose I have a Mathematica graphic such as g = Graphics[{Disk[{-1, 0}, 1/2], Rectangle[]}] I would like to be able to export this graphic from Mathematica ...
1
vote
0answers
53 views

Controlling output of graphics, the role of “;” and code structure/formatting

";" is described under Compound Expression as a delimiter, such that only the output of the last item in the compund expression is given. Situation: 1/ Print[] produces output whether followed by ...
1
vote
0answers
39 views

plot cropped in large amount when setting Text Style to some specific sizes and in some locations

I make a Graphics and then add Text[Style["b",size] to it. When changing the size, I noticed that the overall graphics gets ...
1
vote
0answers
71 views

ListDensityPlot: How to only retain regions with data without using interpolation?

I'm working with ListDensityPlot on a set of triples, $\{\{x_1, y_1, z_1\}, \dots\}$. The data is on a semi-regular grid and looks just as it should through most of ...
1
vote
0answers
47 views

How can I control the size of exported image in HTML code under certain magnification value?

I've inserted a picture in one cell, however, when I exported the cell as HTML, the size of my image in the html tag was doubled(the image file in HTMLFiles was the same as the original image). I ...
1
vote
0answers
89 views

Anti-aliasing won't work when there is PlotStyle command

I've found that if there is PlotStyle command in the input, anti-aliasing will not work. However if the Style code is ...
1
vote
0answers
73 views

Comparing data sets with fade transitions (Code speed-up)

I am using the utility below for data comparison. However, with my real (more complex) charts the processing is quite slow, so setting the Pause time under ...
1
vote
0answers
128 views

Mathematica does not export Turkish characters in a Graphics expression

When I export the following Graphics expression as a PDF (or EPS) file, the Turkish characters ü and ç do not appear. ...
0
votes
0answers
24 views

Making single letters non-italic in Graphics/Text/Style objects

Suppose that I use Graphics, Text, and Style to type one letter in the subscript of a letter ...
0
votes
0answers
47 views

Read in bezier curve from svg file

I am trying to do some calculation of some svg file,After read in with Import["filename","XML"]and some easy operation, I can get the string of the bezier curve, ...
0
votes
0answers
42 views

Dynamically Update Inset within Graphics with RunScheduledTask

I followed the instructions given below to play with RunScheduledTask within DynamicModule. ScheduledTask with scoped ...
0
votes
0answers
41 views

Plot hangs Mathematica through NETLink

I have a C# function that calls Mathematica via Wolfram.NETLink. On our home computers all the test calls work perfectly, but on our AWS server (both a microinstance and a beefy c3.xlarge instance), ...
0
votes
0answers
167 views

Graphic Timelines in Mathematica in v9 (2014)

I noticed a previous question on this site: how to make graphic timelines in mathematica The question concerned the creation of "graphic timelines" of this form: ...
0
votes
0answers
109 views

How to plot an implicit equation with separate dispersion lines of Lamb waves

I'd like to plot (to try reproduce) dispersion curves of Lamb waves as in http://en.wikipedia.org/wiki/Lamb_waves But I can't to separate each lines. I was reduce the dispersion equations as X=ωd/Vs, ...
0
votes
0answers
100 views

Export Graphics using Move in Optica

I am modeling an eye and am using TurboPlot and DrawSystem. I would like to export the graph, but using the ...
0
votes
0answers
68 views

GraphicsGrid confusion

When I make a GraphicsGrid the numbers on the axes stay full size, which makes things very ugly. How do I make them smaller? In addition, when I select the ...
0
votes
0answers
56 views

I need to draw a direction field and x1 vs t graph for the ode

I have written the following codes and i am able to get to the trajectory but not able to draw the direction field and x1 or x2 vs time plots. ...
0
votes
0answers
51 views

Logarithmic scale in BarChart3D

I want to display my data in a logarithmic way in a 3d diagram. I found BarChart3D, which seems to be nearly what i need. I tried: ...
0
votes
0answers
103 views

Positioning Labeled points in ListPlot gives unexpected results and errors

Original question can be seen in the edit history.... UPDATE: a simpler example - same "problem" ...
0
votes
0answers
121 views

Mathematica Version 9.0.1 EPS Format Improvements

Is it just me or has the ability to make high quality EPS graphics increased greatly in version 9.0.1 compared to 9.0.0? I've always found it difficult to get plots that I make in Mathematica to print ...
0
votes
0answers
47 views

Set maximum streamline length in VectorPlot for implicitly seeded streamlines

I have written a function that is meant to illustrate the solution of a DE: ...
0
votes
0answers
152 views

Camera Simulator

I am developping a perspective camera simulator. For the moment, I am considering only the projection of a quadrics form that gives us a conic. For testing my simulator, I use povray an image ...
0
votes
0answers
222 views

Plot basins of attraction using separatrices for particular pendulum

How can I plot the stable and unstable separatrices to make a graphic of the basins of attraction of this differential equation? ...
0
votes
0answers
176 views

How to put the Legend in the free space?

HI I have 5 plots in a Grafics and want to put the Legend in the free space and not to each plot. (as it is always the same legend.) HOw can I do that? Thanks. ...
0
votes
0answers
134 views

Frame and white background not working (all other colours are fine)

Though my question my be related to this one, it doesn't look like it can easily be solved in the same way, so I hope not to be double-posting. I am trying to insert a framed number/text into a ...
0
votes
0answers
125 views

Saving graph as a .ps file without legend

I need to save a graph as an .ps file in Mathematica 9 STUDENT EDITION but at the bottom of the page appears the legend "Printed by Wolfram Mathematica Student Edition" This issue was not present in ...