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

8
votes
0answers
486 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
264 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
212 views

How to style and position VerticalCallouts and RadialCallouts

Here is a pie chart with a labels placed with a "VerticalCallout" ...
6
votes
0answers
748 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
115 views

How to fix a PDF line rendering problem in V9

If I run this in V8 ...
5
votes
0answers
105 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
140 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
128 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
133 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: ...
3
votes
0answers
146 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 ...
2
votes
0answers
142 views

Strange opacity behavior

I edited my question and included the code: here I make the general definitions for the parametric plots I have to do later (these are simply the definitions of the x and y coordinates of the points ...
2
votes
0answers
83 views

Graphics always rendered twice with SimpleFrontEnd example?

I am looking at the Java SimpleFrontEnd example provided by Mathematica. Everything goes well except it always renders graphics twice. Can anyone help me with ...
2
votes
0answers
49 views

Does the VerticalCallout algorithm in PieChart work correctly?

This manufactured example is typical of many real world cases where we have thin slices of the pie: ...
2
votes
0answers
104 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
216 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
85 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
117 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
119 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
171 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
98 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
117 views

Processing Collada file

I have this [collada file][1]. Answer: Thanks to : Yves Klett http://stackoverflow.com/questions/6246392/importing-google-sketchup-models-in-mathematica
1
vote
0answers
66 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
45 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
98 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
54 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
95 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
77 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
130 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
53 views

Change Default Font Color of Commands

I encountered to two problems with Mathematica: one: How can I change the default font color of commands and functions in Mathematica (which is black) to another color, so that whenever I wanted to ...
0
votes
0answers
107 views

3D isosurface plotting

I have a matrix of data of the form of 3 vectors R, Z, M1, M2, M3 ..., cylindric coordinates representing a measurement M of an axisymmetric hypersonic flow at the position R, Z (I don't measure along ...
0
votes
0answers
45 views

GraphicsGrid command

When we merge some colorful plots to a single image, with the command GraphicsGrid, the quality of output image will be lost, slightly. That is, for instance all ...
0
votes
0answers
49 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
60 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
47 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
47 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
211 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
124 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
109 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
70 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
57 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
110 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
151 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
54 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
160 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
253 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
145 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 ...