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
0answers
38 views

Visualise sets giving some relations on those sets

I'm not very experienced with wolfram, but I'm searching for a function that can basicly do the following. Giving some sets $A,B,C$ and some relations for example $B \subset A$,$C\subset B$. I would ...
2
votes
0answers
271 views

Generalize WASD Function First Person Viewing

How might I generalize the following WASD question such that it works with any Graphics3D object and includes q and ...
2
votes
0answers
96 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
129 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, ...
2
votes
0answers
430 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
145 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
154 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
182 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 ...
1
vote
0answers
42 views

Helmholtz-Hodge Decomposition

So I was recently getting familiar with the Helmholtz-Hodge Theorem, briefly (but decently) described by https://en.wikipedia.org/wiki/Helmholtz_decomposition and I was wondering whether there exists ...
1
vote
0answers
30 views

Fast Creation of Label Matrix for Use With ComponentMeasurements?

I am taking a lot of measurements from regions of interest in microscopy images and am finding that generating binary masks to use with ComponentMeasurements is rather slow (at least it's slow the way ...
1
vote
0answers
34 views

How to implement reusable graphic components having stable line thicknesses?

IMPORTANT: This post is a follow-up to Scaling edge thicknesses, and in particular to the accepted answer in that thread. Basically, I'm trying to use the idea given in that answer to implement ...
1
vote
0answers
41 views

Periodic boundary condition trick

I'm plotting a curve on a compact space which is having periodic boundaries on the left and right parts. Currently, the code I'm using is working great, but I'm wondering if there's a simpler and ...
1
vote
0answers
52 views

Graph equivalent of GraphPlot's MultiEdge style?

I like the default display of Graph much better than that of GraphPlot, but I do not see how to turn off the use of multi-edges ...
1
vote
0answers
64 views

Generating graphics in a web page with CloudDeploy and FormFunction

When I execute this code locally on my laptop... ...
1
vote
0answers
128 views

Demonstration of an arbitrarily oriented and translated ellipsoid

(Edited and modified) After the advice I received I modify the post. I have created the following code for depicting an arbitrarily rotated and translated ellipsoid, along its ellipsoidal axes and ...
1
vote
0answers
152 views

How do I fit the parameters describing a 3D object so that it best resembles its projection seen by an observer at a particular position?

I have data which are the longitudes (l) and latitudes (b) for the vertices of the edges of a shape as it appears to an observer at a given location (i.e., as it appears on the observer's sky plane). ...
1
vote
0answers
106 views

Graphics primitives - graphic design in _Mathematica_

I noticed this question in Graphic Design SE. I wondered whether it was possible / any easier in Mathematica? Image reporoduced below:
1
vote
0answers
28 views

How to suppress mouse over error messages on graphics

How do I suppress these they are preventing me from getting coordinates. Here is the code to create the graphic if it helps. ...
1
vote
0answers
78 views

Better layout for large a directed graph?

This shows a directed graph for an iterated n-bit pseudo-random function parameterized by s. ...
1
vote
0answers
121 views

How to add a Bar Legend to a density plot over the surface of a sphere?

I have a function with variables (theta,phi) the spherical coordinates. I want to represent it as a density plot over the surface of a sphere. following an answer to a previous question Density ...
1
vote
0answers
80 views

Version incompability Mathematica 10 CDF Player 9

I have aleady looked at these two questions: Is there a CDF Player for Mathematica 10? and Problem with NDSolve in Mathematica 9 / 10. My problem is as follows. I am simluating neurons, which ...
1
vote
0answers
82 views

Automatically sizing elements in a DistributionChart with custom ChartElementFunction

This is a follow-up to some related questions: 46770 and 60600. I'd like to make a DistributionChart where the elements are histograms with my own custom ...
1
vote
0answers
106 views

passing values between widgets in GUIKit

I am writing a short GUIKit script with one TextField widget that takes the path of the image and a button widget which imports the image. The problem I have is ...
1
vote
0answers
44 views

“Partial” graph layout (with a fixed core)?

Is there a way to apply a graph lay out algorithm to a Graph object in such a way that a subset of its vertices and a subset of its edges are fixed beforehand, and ...
1
vote
0answers
82 views

How to get grid items with a gradient background to behave well?

I have a table that looks something like this ...
1
vote
0answers
230 views

graphicsgrid white space

I'm working with mathematica 9.0 making a graphic grid. Here's my image: I'd like to know if it's possible to make the two cells from right only one and if there's some manner to rid of the white ...
1
vote
0answers
74 views

How to select default graphics device for charting?

Is there a way to tell Mathematica to use a specific graphics device for charting? My laptop has two graphics devices; an on-board Intel chip and a Nvidia graphics card. I noticed in Mathematica's ...
1
vote
0answers
95 views

Attempt to Run[“inkskape”] fails

I wrote a little script to convert various graphics files (.ps, .eps, .pdf) to the raster ones (.png). Export[out, Import[in], ImageSize -> size] fails for some ...
1
vote
0answers
77 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
70 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
288 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
86 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
243 views

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

Bug introduced in 6 and fixed in 7 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 ...
1
vote
0answers
135 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
142 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
33 views

FindSpanningTree command doesn't work

I want to solve a network analysis problem by FindSpanningTree command. But it yields nothing: FindSpanningTree[G1] ...
0
votes
0answers
24 views
0
votes
0answers
42 views

How can I plot 2 concentric fixed circles with a polygon inscribed in one and circumscribed about the 2nd

Can anyone help me with the simplicit code to plot 2 concentric circles and a polygon of sides n (that I can manipulate) inscribed in one circle and circumscribed about the other. However I want the ...
0
votes
0answers
49 views

Intel Graphics Driver Crash and Recovery messages with 3D graphics?

Ever since i updated to Mathematica 10.4 from 10.2, I have been occasionally experiencing a graphics crash error message and 3D images/graphics that used to appear normally just turn black upon ...
0
votes
0answers
36 views

How can I add an arbritrary label to a detail in a Plot or Plot3D?

I know about the graphics primitives Line and Point. I also know about Labeled, but there the placement of the label itself is confined to one out of {Bottom, Left, Top, Right}. I am looking for a ...
0
votes
0answers
72 views

Make smooth plot from data

After some awesome tips from @qwerty I still have some doubts As I said, I´d Like to make a smooth function with some other colors, I plot the graph, there is a lot of data. The situation is this: I ...
0
votes
0answers
107 views

Plot of 4-dimensional vector field

I want to study a certain type of 4-dimensional ordinary differential equation. How could I visualize it? One thing that could be helpful is to plot the vector field in one pair of variables, for a ...
0
votes
0answers
105 views

Using a standalone CDF to replace a typical graphing calculator

I can use Manipulate[] to create a grapher that emulates some of the functionality of a typical graphing calculator.By using ...
0
votes
0answers
77 views

Problem with BSplineCurve 3D

I have a problem using the function BSplineCurve [ ] . I have to represent a line passing through about 3000 points in 3D. I managed to plot the points separately, but when I use the 3D BSplineCurve ...
0
votes
0answers
53 views

How to export heterogeneous data to single file?

I want to export structured heterogeneous data (containing images) to some standard file format. The expression to export can contain 3 atomic types: numbers, strings, images, and be nested with 2 ...
0
votes
0answers
83 views

Smooth Curve using Drawing Tools Palette

I am learning to use the drawing tools palette that comes packaged with Mathematica. I'm attempting to create some diagrams for class using Mathematica's drawing tools rather than Adobe. Is there ...
0
votes
0answers
87 views

Intersection of two cones

I want to plot a region difference between two cone, but the results seems to be very deformed.. ...
0
votes
0answers
53 views

How to delete part of a constant plot?

I have a plot that looks like this: and what bothers me is that the center straight line is that long. The plot would look a lot better if I were somehow able to delete everything from -3 to 3. Is ...
0
votes
0answers
54 views

ParametricPlot that worked in Mathematica 9 stops working in Mathematica 10

I've updated to Mathematica 10 and I am trying to plot the solution of a system of ODEs and I'm using exactly the same file that used to work in Mathematica 9, but now when I want to plot the solution ...
0
votes
0answers
83 views

ViewVector requires click before behaving with Graph3D (Also, viewing 3D subgraph “head on.”)

I want to produce 3D subgraphs that looks "head on" at the remaining vertices, held in their original positions via VertexCoordinates. The default viewpoint is not ...