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
1answer
294 views

Map of Specific US States? (Isolated)

My question here is fairly basic, and I'm sure I'm overlooking something basic. I know about CountryData for creating shapes of entire countries, and it works, to ...
9
votes
5answers
375 views

How to combine one or more rotated graphics objects?

I wish to produce an image with more than one composite graphics objects which have been modified using Rotate. I feel this should not be difficult, but haven't yet found a solution. A simple example ...
10
votes
4answers
762 views

How to make a depth map from a 3D model?

Given a 3D .obj model, for example a rabbit. How can we make a depth map out of it? Any idea or help would be much appreciated.
3
votes
3answers
95 views

Text with subscript is automatically Italic

I am creating a figure for a document using Graphics in which there is Text with some variables and again those same variables ...
4
votes
2answers
160 views

Density plot of city data

I try to solve a bit tricky problem. I want define line (or vector) between some geographical points with weights (for example how many transactions has been done between these cities). I tried this ...
11
votes
2answers
384 views

How can I prevent ColorFunction from disabling antialiasing in graphics?

When I use ColorFunction, the appearance of my plots is ruined, changing from this which has the normal smooth lines and antialiased fonts, to this in which ...
3
votes
1answer
292 views

rasterListContourPlot With PlotLegends in Mathematica 9

Jens Nöckel has write functions about (List) Contour Plots with rasterized shading in Mathematica: http://pages.uoregon.edu/noeckel/computernotes/Mathematica/rasterContourPlot.html It works well. ...
2
votes
1answer
105 views

RegionPlot3D run forever when plotting 3D ParametricRegion

when working with 2D, RegionPlot works fine with ParametricRegion as can be seen in this example: ...
8
votes
2answers
361 views

Distorted graphics when using custom ticks and AspectRatio -> Full

I am having a problem using custom tick specifications along with AspectRatio -> Full. The problem affects both Ticks and ...
7
votes
2answers
239 views

How to Rasterize in “Printout” style

I am trying to ascertain how large a justified text block will be when printed by rasterizing it in the "Printout" style environment. However, ...
9
votes
3answers
1k views

Create triangular mesh from random list of points

I have a list of points. I would like to take these points and create a mesh of triangles from them, making sure triangles don't overlap. So here's a list of points: ...
2
votes
2answers
105 views

How draw a line dynamically using manipulate?

I want to paint a curve on a sphere while I’m manipulating stereoscopic projection points on the plane with a 2D slider, but I’m having trouble collecting the points needed to create the Line ...
2
votes
1answer
156 views

How can I plot a circular region and lines?

I am having difficulty plotting something along these lines in Mathematica. I will explain what is going on here. Basically, I am solving an interval equation $ax=b$, in the first example $a = [1, ...
2
votes
0answers
52 views

Problem with hole filling using filledCurveToPolygons3D in MMA 10

I successfully used the filledCurveToPolygons3D function to create Graphics3D text in MMA 9 on a Windows 7 PC; see: How can I ...
4
votes
1answer
95 views

Problem with clipping of tick labels

Please look at Show[DiscretizeGraphics[Graphics3D[{Cone[]}]], Axes -> True, Boxed -> True] Well, there are some ...
5
votes
1answer
89 views

Extending a ternary plot to a tetrahedron (using ListPlot)

I have been making ternary plots of data that is a list of sets of 3 numbers, where the numbers in each set sum to one (call this "DATA"). To do this, I first transform DATA onto the 2D surface with ...
8
votes
2answers
103 views

Issue with Mouseover within Geographics

When using Graphics, I can change the color of the object with the use of Mouseover. ...
0
votes
1answer
30 views

how to use Tooltip with a Dynamic point

consider this example: ...
8
votes
3answers
387 views

How can one draw a network with nodes and links in a grid shape?

I'd like to be able to use MMa's graphics to make something like this which I know must absolutely be possible (and probably easy) with MMa. I don't actually even need different colors (though ...
0
votes
1answer
177 views

How to make a stereogram in Mathematica? (2)

Given a tiled background and a depth map, both of the same dimension, I tried to produce a stereogram using the following codes which was adopted from the method given by Simon Woods, but in a ...
5
votes
1answer
164 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 ...
23
votes
4answers
528 views

How to make a stereogram in Mathematica?

Given a background and a pattern jpg files, is there a quick and easy way to produce a stereogram by using Mathematica? The following picture was produced from Photoshop, spent about half an hour. ...
4
votes
0answers
107 views

Dynamically transform one Graphics to another

I would like to have two Graphics objects displayed side by side such that: they are mirror images of each other if I change the left-hand one interactively using ...
3
votes
1answer
68 views

Radius Values not Displaying in (List)PolarPlot

I'm having troubles with the PolarAxes option in ListPolarPlot under Mathematica 8.0. To be more specific, when I run the ...
1
vote
2answers
77 views

I've some data points in Mathematica. I want to plot these in MATLAB. How to do that? [closed]

I want to export these data points into matlab and get a plot. Like I've to plot ft vs t. Through the following command- Table[{[Tau], ft[2, 5, [Tau]]}, {[Tau], 0, 15, .01}], i generated some data ...
2
votes
1answer
100 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 ...
2
votes
3answers
159 views

Point-like function but with diamond instead of circle

I would like to use something like Point[x,y] to plot diamonds instead of small circles ("points"). I'm creating charts from scratch inside a ...
5
votes
1answer
63 views

Custom default ImageSize while allowing inheriting

When displaying graphics in the Mathematica front end, and leaving ImageSize at the default, the result will always keep its previous size. For example, ...
16
votes
3answers
665 views

How to get the real PlotRange using AbsoluteOptions?

The problem in general involves the unreliable behaviour of AbsoluteOptions when option values are implicitly specified (e.g. ...
1
vote
1answer
220 views

Potential hill simulation

I attempted to simulate the motion of a particle approaching to a potential hill. The particle should experience a force of -1/r^2, if the equation for the ...
8
votes
1answer
148 views

Why does GridLines option fail with Function?

The Plot option GridLines can be specified either as a list of explicit values at which to draw the lines, or as a function that ...
2
votes
0answers
69 views

How to use MathPSfrag package in Mathematica 10?

I am interested to use LaTeX like labels in the plots that I prepare in Mathematica, and hence, I downloaded the MathPSfrag package from this website ...
19
votes
1answer
446 views

What is wrong with triangle PlotMarkers in v.10.0.0?

In Mathematica 10.0.0 we have built-in graphical triangle PlotMarkers. Let us look closer on them: ...
4
votes
2answers
145 views

Tracing a path on a polar coordinate grid

I attempt to trace the path of a point when shift-dragged on a polar coordinate as shown on the picture below. But I only managed to snap the point to the grid. Insight on how to accomplish this? Any ...
22
votes
5answers
546 views

How to examine the structure of Graphics objects

One difficulty I'm encountering in studying the structure of Graphics objects is that I have not yet found a way to print or display such structures that are ...
2
votes
3answers
160 views

How to combine a plot with an image

I have an external data file data which contains the position of stars of a galaxy simulations and it looks like this ...
3
votes
1answer
105 views

fragment loss with ContourPlot3D

I expect to have a chimney-look plot out of the function z = 1/(x^2 + y^2), but what I got is a broken one. Is there a way to get an intact plot from ...
8
votes
1answer
551 views

Failure to export graphics by right-click when Notebook magnification is changed

When I try to export graphics as PNG, JPG and other rasterized formats using the right-click and choosing Save Graphic As..., if the notebook magnification is ...
2
votes
1answer
79 views

How to draw a normalized tangent arrow [closed]

I want to draw a normalized tangent arrow, so I use the Normalize command as follows: ...
-1
votes
1answer
59 views

graphics and manipulate stiffness method [closed]

I'm trying to create a structures analysis program based on the stiffness method. The program should analyse frames. All the program should be included in the manipulate function. What I want at first ...
3
votes
1answer
133 views

How to smoothly change the radius of a circle by dragging its circumference?

I am attempting to set an EventHandler to change the radius of a circle by dragging on its circumference. But the response to the dragging is terribly slow. What is ...
5
votes
2answers
201 views

How to draw a box with holes using Mathematica

How to draw these two(especially the second one) graphs using Mathematica? The curve is not important.The point is how to dig some holes in a cube. BTW, These two shapes are Homotopy.
1
vote
2answers
98 views

How to draw a line (1D) with labeled subdivisions

I want to draw a simple line with some symbols, but so far have had no luck finding an easy way to do it in Mathematica. Does anyone know if Mathematica can easily implement e.g. the example below?
8
votes
3answers
336 views

Find intersection points with V10

My question departs from this one: Find intersection of pairs of straight lines but now I want to find the points with the new V10 Region-functions. ...
10
votes
1answer
160 views
3
votes
1answer
51 views

How to make PlotMarkers constructed from Graphics track plot style?

In this plot the Disk[] markers are not colored according to the style of the line to which they belong: ...
1
vote
1answer
78 views

ListPlot with conditions

I have a data file containing the position of about $10^5$ stars of a spiral galaxy. Here is the plot and this is the corresponding code ...
4
votes
1answer
162 views

How to generate nonperiodic tilings?

I need to generate nonperiodic tilings which are similar to the attached figure (kite-domino tiling). I was thinking the code is similar to the code for the Penrose tiling. However, that code is too ...
0
votes
1answer
62 views

Make a text with a transparent background in Graphics [closed]

Code first Graphics[{Thick, Yellow, Disk[{0, 1}], Text[Style["abcdeffsgg", 16, Black, Background -> Transparent], {0.85, 0.65}] }] Using ...
0
votes
1answer
47 views