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

2
votes
1answer
134 views

“ReliefMap” and “ContourMap” unable to download error

This question may be closed as "too localized". I post in the event other users have had this error and resolved it. The problem: inability to use "ReliefMap" or "ContourMap" options for ...
2
votes
1answer
114 views

Drawing lines automatically between two different plots

I try to create a special plot where several lines have to be generated automatically between two plots at very precise coordinate. My goal is to make something exactlly like But I want to do it for ...
2
votes
1answer
53 views

Using Epilog to increase text size [closed]

I have a plot with labels positioned using the epilog function for convenience. I would like to increase the size of axes labels within the epilog function but I haven't managed to figure out a way to ...
2
votes
1answer
66 views

Contours aren't aligned with frame ticks in ContourPlot

Because of the problem described in BarLegend can't make spaced contours when contours number>11, I decided to brew my homemade spaced-contours-barlegend. After some trials I get something like ...
2
votes
2answers
133 views

Bug: Export sometimes adds unwanted background to PDF files

Update: WRI confirmed that this is a known issue with Export on 2015-05-14. I am trying to export the outputs of some Plot expressions as PDF files for inclusion ...
2
votes
1answer
56 views

Import EPS and use as symbol

Is it possible to import a vector file & use as a symbol / plotmarker? I tried importing an EPS from Illustrator & assigning a name to it, but it failed. I would really like to be able to use ...
2
votes
2answers
119 views

GeoGraphics examples not running correctly

I'm trying to work with the new GeoGraphics functionality in Mathematica 10, starting with the example given here. None of the code seems to run well for me, though. I try to run the first command: ...
2
votes
2answers
246 views

How to change the font color and size of tick labels by default

I've read Mike Honeychurch's answer here, and while it tells me how to change the font size on all of my plots, that size change affects (I think) all text on the plot. I would like to be able to make ...
2
votes
1answer
66 views

Specifying the style of edges in directed graphs [closed]

How do I specify the style of individual edges in a directed graph (in Mathematica version 9)? Consider maybe this ...
2
votes
2answers
219 views

Plotting boundary of piecewise function in ContourPlot

I am trying to do a ContourPlot of the following function: ...
2
votes
1answer
258 views

How can I improve ContourPlot to get smooth curve?

I am working on the ContourPlot to creat contour line of a InterpolatingFunction recently. This is my data. This is my simple ...
2
votes
2answers
135 views

How would I rotate a table of Cuboids around the y axis?

Currently I can print out this using Graphics3d: Here's the code: ...
2
votes
1answer
92 views

Displaying a list in form of an upside down pyramid graphic

I was wondering how to display a list like this: list={{0,1,1,0},{1,0,1},{1,1},{0}} in form of an upside down pyramid, that is the first element of the list is ...
2
votes
1answer
136 views

ListPlot with background image?

I need repetitive plots like this below. I invented that I refuse to use pen and I will plot the points in Mathematica, then change opacity, then change contrast and voula get the points to the graph ...
2
votes
1answer
101 views

How can I adjust ContourPlot in Mathematica?

I have problem because of the max point and min point, when I have too high or low data point, it just make it white. Here is example of data ...
2
votes
1answer
132 views

How to correctly map values onto an arrayplot

I want to understand why the order of the text is reversed from what it should be? If I compare the first and second results, I see that the {1,1}, {2,2},... diagonal is going down the wrong diagonal. ...
2
votes
2answers
97 views

LegendMarkerSize value equivalent to special character size in LegendMarkers

I am trying to find the equivalent LegendMarkerSize value to the size specified for special characters when using LegendMarkers. So far I found LegendMarkerSize 14 generates symbols close to 22 set ...
2
votes
1answer
100 views

Show command missing red dots from one of the function

I am facing an issue when trying to use Show command to show multiple graphs within one graph. Show command only shows red dot from one of the graph. ...
2
votes
1answer
165 views

RegionPlot3D run forever when plotting 3D ParametricRegion

when working with 2D, RegionPlot works fine with ParametricRegion as can be seen in this example: ...
2
votes
2answers
151 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?
2
votes
1answer
80 views

How to add more than one label to Histogram automatically

I have a huge data and I want to add two labels to the Histogram. the problem here is that the labels are calculated and added automatically to the histogram. for example if I have the following ...
2
votes
1answer
274 views

Generate a set of 3D coordinates subject to constraints

Generating a set of random 3D coordinates is ok, e.g. ...
2
votes
2answers
142 views

Graphical solution of a a two-variable system containing an equation and an inequality

I'm currently studying atmospheric-gravity waves and their dispersion relations. I want to have look at values of $(x,y)$ that solve the following system : \begin{equation}\label{}(1) \left\{ ...
2
votes
3answers
227 views

Recover data points from RGBColor of known ColorScheme

In general I want to recover the z-values from an image of a DensityPlot. A simple example might just be ...
2
votes
1answer
223 views

Issue in displaying a rotated PolarPlot with Show

I can use PolarPlot to generate a plot; however, I would like to rotate the plot by 90 degrees and then output the result using Show. Here is the code ...
2
votes
1answer
495 views

How to combine two plots with the same y-axis

I have a data file which contains three columns of data. The first and the second column correspond to $x$ coordinates, while the third column to $y$ coordinate. Here is a small sample of the data ...
2
votes
1answer
316 views

Coloring with Hue for a function on a lattice grid

I wish to color a 2-dimensional lattice grid according to the value of a function at each lattice-node. More specifically, if I have 9 angles in a 3x3 array, ...
2
votes
1answer
170 views

Snapping two “Drawing Tools” objects together while decorating an image

I'm using "Drawing Tools" to decorate an imported image (a TIFF file). I need to create a set of regularly spaced parallel lines, and my solution for doing this is to create a pair of parallel lines ...
2
votes
1answer
606 views

define the range of Longitude from 0-360 in the World plot from CountryData

How can I change the Longitude range to 0-360 in the such plots? ...
2
votes
2answers
920 views

Making a movie with specific frame-rate out of ListPlot outputs? [duplicate]

Possible Duplicate: Is it possible to prerender animation in Wolfram Mathematica? Does Mathematica support variable frame rate for any video format, in analogue of GIF-style “DisplayDurations”? ...
2
votes
1answer
979 views

exporting eps figures maintaining the same size

I need to export some (2D) graphs from mathematica in eps format (only, unfortunately). The graphs are of similar nature (plotted from our different functions), and I have used the ...
2
votes
1answer
710 views

Lines with label in Plot options syntax

I wrote a little function to add lines with labels to plots. It just creates customized {GridLines -> ..., Epilog -> ...} code: ...
2
votes
1answer
495 views

How specify PlotRange and display bitmap over plot in DateListPlot?

The problem came up in a plot of RGB data obtained by imaging the variable star d-Cephei with a DSLR camera on several successive nights. I tried to plot the R, G, B intensity points for each day in a ...
2
votes
1answer
215 views

How do you define an affine transformation that is translated by itself?

This one should be simple, but I can't figure it out. I would like to define a transformation (function) such that $r$ maps to $m.r + r$ The help file on AffineTransformation says that ...
2
votes
2answers
273 views

Working around behaviour of EdgeRenderingFunction

One can make graphs GraphPlot[{1 -> 2, 2 -> 3, 3 -> 4, 4 -> 5, 5 -> 1, 1 -> 1, 5 -> 5}] and one can generalize the input such that one ...
2
votes
2answers
300 views

Varying plot sizes for identical PlotRanges in ListLinePlot, where one has a legend

I am trying to make some figures using ListLinePlot in Mathematica 8. Although the PlotRanges are the same, the resulting frame sizes are different. The only difference (as I see it) between the two ...
2
votes
1answer
48 views

Dynamic update of displayed quantities on a Plot within manipulate

I'll admit that I only skimmed some other threads about this. They seem rather complicated in contrast to my simple problem. I have two lines in space defined by a two-by-two coefficient matrix. I ...
2
votes
1answer
79 views

Adding labels to graphics

Maybe not a very descriptive title, but I wasn't sure how to pin it down. What I have is an array of vectors, a numerical example of which would be ...
2
votes
1answer
70 views

How to overplot Graphics on GeoGraphics? [duplicate]

I have a parametric plot and a GeoGraphic of the same size and I want to overplot them. Show doesn't seem to like to use both at the same time though it will display either. How can I put regular ...
2
votes
1answer
62 views

Use Version 7 Print Environment Settings in Version 10

The following code produces very different PDF outputs in versions 7 and 10. Is there some way to make Mathematic 10 produce the same print output as Mathematica 7? ...
2
votes
3answers
135 views

Defining a 2-variable function over voronoi diagram

I am new to Mathematica & I am facing a problem as follows: I have created a Voronoi diagram and now I want to assign to each region, a value, i.e., I want to extend this Voronoi diagram to form a ...
2
votes
1answer
79 views

How to hide and show graphics within Show[] function (in Manipulate wrapper)

There is a well documented way to "Dynamically Hide and Show Plots" (link). In the example 'Opacity' option is effectively used. Is there an efficient way to make the same functionality with "Show"? I ...
2
votes
1answer
121 views

Coloring points via “TemperatureMap” [duplicate]

I have a collection of 3D points, and each is associated with a real number in [0,1]. A typical element looks like {{x,y,z},c} where ...
2
votes
1answer
141 views

Bifurcation diagram for Piecewise function

At the moment I am trying to create a bifurcation diagram of the discontinuous piecewise function given by following Mathematica code: ...
2
votes
1answer
109 views

Aligning Overlay and GraphicsGrid plots

I need to make several plots displaying a Listplot overlaid with a Histogram and close to it (ideally even sharing X axis) a Plot. After reading answers to similar questions, I've got his far: ...
2
votes
1answer
82 views

Epilog does not work as expected with Show [duplicate]

I was trying to answer this question (here) and I found that I can't use Epilog with Show. consider this Example: ...
2
votes
2answers
122 views

Placing text within a plot

I want to place text within a plot. The text is always centered relative to the coordinates. How can I left-align or right-align the text relative to the coordinates? For example: ...
2
votes
1answer
185 views

How can I move a dot along a line? [duplicate]

I have a list of ordered pairs, named bob. They represent locations on a graph. bob = {{8, 5}, {8, 3}, {10, 10}, {9, 8}, {1, 3}, {9, 3}, {5, 3}, {3, 7}} I then ...
2
votes
2answers
131 views

Opacity function applied to Graphics Objects

I think this is a stupid/banal question, but I have searched the forum and I haven't find a solution (yet). I need to apply a variable opacity function to a graphics object (say a rectangle). For ...
2
votes
1answer
168 views

2D Fourier transform of a few (4) disjoint discs on a plane

I'd really appreciate some advice. Short Version I'm trying to calculate the following $$ ...