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

3
votes
0answers
200 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
1answer
365 views

Exporting PDF file - incorrect graphic [closed]

I export graphics to PDF using: Export["/path/figure.pdf", plotname] It gives me more than enough quality for PDFLatex. But somehow, some exported plots have ...
3
votes
0answers
112 views

ErrorListPlot marker missaligned with error bar [duplicate]

Possible Duplicate: Point Renderings Slightly Off in Mathematica I'm using the ErrorListPlot function in the ...
2
votes
2answers
802 views

Using ChemicalData to make molecule graphics

I would like to take the acetone $((CH_3)_2CO)$ and chloroform $(HCl_3)$ molecules that Mathematica's chemical data provides, and plot them together. I want to show how chloroform can hydrogen bond ...
2
votes
4answers
232 views

How to improve the quality of the ListPlot output

I need to plot massive data stored in external ASCII files. Below is the Mathematica code I use for this job: ...
2
votes
3answers
136 views

How can I get from a list of characters representing a permutation to graphics showing the cycles?

I am trying to graphically represent cycles in various permutations of the alphabet, and have a question in two parts. I have ...
2
votes
3answers
240 views

Surface area of a cylinder [closed]

Evaluating expr = {Sin[t], Cos[t], Sin[p]}; ParametricPlot3D[expr, {t, 0, 2 π}, {p, 0, 2 π}] Area[expr, {t, 0, 2 π}, {p, 0, 2 π}] gives an area of ...
2
votes
2answers
484 views

draw part of parabola using graphics

today I was doing my physics homework. one of the questions was draw velocity-time and position-time graphs from the acceleration-time graph. So for the first step I draw acceleration-time using ...
2
votes
4answers
209 views
2
votes
2answers
155 views

How to increase the size of the dot produced by OverDot[]

As the title says, I want to find a way to increase the size of the dot produced by OverDot[]. Here is a simple code ...
2
votes
2answers
867 views

How can I get even steps on x and y axes in a plot?

I'm plotting the shortest distance from a point to a line using the following code ...
2
votes
3answers
664 views

Color mixing or blend

Color mixing seems not only one type. Here is RGB_color_model I wrote this one: ...
2
votes
2answers
211 views

Manipulating spacing in a text object

I want to visually illustrate substitution in a mathematical expression. This is an example: ...
2
votes
3answers
375 views

How to Export the current graphic state of a dynamic module?

After manipulating the graphics in a dynamic module like this: Synchronizing manual rotations for multiple Graphics3D outputs? How do I get at the current graphic so that I can Export the image? ...
2
votes
2answers
702 views

distance between two curves

I try to compute the distance between two curves. I use the EuclideanDistance to do that. Here my code: ...
2
votes
2answers
991 views

How can I invert the colors in a color bar

I have this Mathematica code ...
2
votes
3answers
280 views

Using DiscretePlot to graph the Riemann sum of a parabola

I want to graph the Riemann sum (upper sum) of $y=x^2$ with $1\leq x\leq 4$ using 6 rectangles. I want the rectangles to be green. On the Wolfram Mathworld website, I can render exactly what I want ...
2
votes
2answers
356 views

Generate nonoverlapping random circles [duplicate]

I want to distribute n circles unformly in an area(e.g. free plannar space). The circles could touch each other but cannot overlap. ...
2
votes
4answers
158 views

How to place more than one ChartLabel in a BarChart

I have the following data: ...
2
votes
2answers
247 views

Plot Wiener Process and its running maximum

I want to plot a Wiener process $B=(B_{t})_{t≥0}$ and its running maximum $S_{1}=\max_{0\leq t\leq1}B_{t}$ on Mathematica. Can anybody help? I only know how to generate a Wiener process using ...
2
votes
2answers
259 views

3D plots with a continuous and discrete input [duplicate]

How can I plot a function with one discrete and one continuous input? Plot3D wants everything continuous while ListPlot3D and ListPointPlot3D want everything discrete. I would like be able to say ...
2
votes
2answers
189 views

Illustrating half life

I'm teaching some lessons on negative exponents and one application listed was half life since the rate of decay can be written as 2^-1 every __ years. I found this nice animation on the net. ...
2
votes
2answers
275 views

How do I determine the original aspect ratio of an imported image?

Say I import a TIFF, JPEG, or PDF image. How can I quickly determine the original aspect ratio of the image so that I can properly scale its size? I have thus far been unable to find an answer ...
2
votes
1answer
194 views

Drawing all lines between a set of points

Given that I have the array of points, ...
2
votes
3answers
228 views

Calculate pixel intensity in two regions

I am just beginning to learn about image processing. I would like to know 1) How to show an original image with a visible mask of an arbitrary shape? 2) how to calculate the pixel intensities in the ...
2
votes
1answer
468 views

How to insert a plot into another overlay plot

I want to insert a plot into another overlay plot. Here is my code: ...
2
votes
2answers
222 views

Using BarChart and pastel colors is there a method to get the labels to be the same color as the bar?

I am using version 8 and I have the following code: ...
2
votes
2answers
145 views

How to set viewpoint Graphics3D to a different default orientation?

I'd like to have a SphericalPlot3D show up with the "z-axis" oriented horizontally by default. For example, in ...
2
votes
3answers
153 views

How to embed a filled Region in a Graphics?

Let for example: regn = RegionDifference[Rectangle[{-2, -2}, {2, 2}], Disk[{0, 0}, 1]]; The only documented way I found to draw a gereric region ...
2
votes
3answers
121 views

plotting two Error List Plots in one

I made two ErrorListPlots ...
2
votes
2answers
193 views

How to specify units for ImageSize Option? [duplicate]

I'm trying out making a CDF and I want it to print within the margins of Letter paper. There is an ImageSize option that I would like to set; some plots will be in ...
2
votes
2answers
188 views

Color of first and last point in a graphic

I'm trying to make a graphic of a random walk in 1D, but i want that the first and the last point have a color (in this case the first one red and the last blue), but i dont know what i'm doing ...
2
votes
1answer
238 views

Making a rectangular label for RegionPlot

I have a plot that includes a Region Plot. I want to make a rectangle with the same shading as in the region plot to show as a legend. The dumb way I can think off ...
2
votes
2answers
552 views

Generating social network graph from a CSV file

I am new to Mathematica and wanted to generate undirected graph for data sets that show the relationships of organizations with each other. The data is in a square matrix. The cells of the matrix ...
2
votes
1answer
283 views

How to make a big image/dashboard containing various data-graph

I want to make and image/dashborad (to export to PDF) with many VERTICAL bullet graphs gauges. And I can´t make it, in a automatic way. In general, the questions are: QUESTION 1: How to make a ...
2
votes
1answer
118 views

How can I plot a picture with this kind of legend?

Can "plotlegend" do that? I cannot find a proper function.
2
votes
2answers
401 views

How can I build a GraphicsGrid of arbitrary size?

This is actually a very simple scenario, in order to make simpler this question Part I. Consider the following piece of Mathematica code ...
2
votes
1answer
83 views

Barchart recognize time series data?

I can't seem to get Barchart to recognize TimeSeries data. For example, my data is: {{1891, 1}, {1892, 1}, {1897, 1}, {1898, 1}, {1903, 1}, {1904, 1}, {1905, 1}, {1908, 4}, {1909, 6}, {1910, ...
2
votes
2answers
142 views

A plot with labeled points in one plotting command?

For my work, I am examining the values of a complex function as I vary the input according to a real parameter, and I want to both give the general plot and the plot of specific points, with labels ...
2
votes
1answer
137 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 ...
2
votes
1answer
218 views

Why Plot3D does not accept Epilog option [closed]

I am trying to visualize 3D points with Plot3D using the option Epilog. If you check the options of Plot3D ( Options[Plot3D] ), it can be seen that Epilog is one of ...
2
votes
1answer
163 views

Order of symbols in Graphics labels

Do you have any idea how to force an order of Greek letter in the graphics? When I type in AxesLabel -> {Cost, Δ OverBar[π]} the order is π Δ. How can I ...
2
votes
2answers
309 views

DensityPlot Increase Information

I am trying to make a density plot in Mathematica, however the distribution of the plot is not as visible as I would like. I plotted the same function in python and it contains a greater visible range ...
2
votes
1answer
102 views

Unexpected scaling of graphics when using Show

Here is my code: ...
2
votes
1answer
161 views

Copying each object in a plot separately as an image

I would like to copy a plot from Mathematica as an image, into a PowerPoint slide. This plot has two curves. When I try to do the (naïve) usual "copy graphics" and paste, I find the full plot (along ...
2
votes
2answers
669 views

How to set the ratio between the vertical and horizontal scales of plots?

The documentation says that when AspectRatio->Automatic is specified, Mathematica determines the ratio of height to width from the actual coordinate values ...
2
votes
2answers
411 views

Draw network graph and get the coordinates of each node

I would like to draw an undirected graph by specifying the nodes and the edges among them. This is currently done by, for example: ...
2
votes
1answer
97 views

Graphing the amount of time a function takes

I know I can find out the amount of time a function takes to run like this: In:= function1[100] //Timing Out:= {0.043334, Null} How can I graph this over a set ...
2
votes
1answer
473 views

How to convert an output to a graphic that can be selected like a plot?

EDIT: István Zachar informed me of the Rasterize[] command, which does exactly what I need. Danke! I have a self-built function that uses Grid[] to create a table that is more presentation-friendly ...
2
votes
1answer
252 views

Why are my FrameTicks not working on ArrayPlot?

For some reason the ticks don't work on this: ...