Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [graphics]

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 Plot commands.

0
votes
0answers
32 views

Amplifier adder [on hold]

I'm trying to moving up the square signal to positive values. First, I'm amplifying a sine wave then converting it to a square signal, but when I use an amplifier adding a dc signal to the square, ...
1
vote
0answers
24 views

Low quality when copying bitmap through Context Menu

The easiest method to share your immediate MMA results to non-MMA users among your peers is to just copy the result onto an email and send it. Figure below shows a ...
0
votes
0answers
49 views

Pixel-wise image manipulation

I downloaded an image from a website and imported it to Mathematica ...
2
votes
1answer
35 views

How can I apply the FillingStyle across the whole graph? [on hold]

I want to have purple dashed line for my stem plot, as is shown here but when I tried to set the options in ListPlot accordingly ...
0
votes
0answers
45 views

LayeredGraphPlot with Tooltip

In the Tooltip I want to change LinkHand for an image of a medium sized clock, but I get an error. In the following image I ...
10
votes
1answer
198 views

Constructing a ternary histogram

so this is currently what I'm building ...
3
votes
1answer
147 views

How to increase the accuracy of a plot

I have the following code below: ...
3
votes
2answers
52 views

How can I plot two parts of Möbius strip bonding together?

How can I plot two parts of Möbius strip bonding together like the following picture? The parametric equations: ...
2
votes
1answer
54 views

How to force ListPlot to print the new curve while keeping the old one

I would like to create a graph using ListPlot which prints new dataset every time the button is evaluated (based on the value given in ...
2
votes
2answers
111 views

How to plot this group bar plot?

I want to generate a barplot with the following characteristics. There are 5 users in the system. Each user has a demand. There are 2 suppliers. Each supplier tries to meet user demand as closely as ...
1
vote
1answer
56 views

Mathematica only graphs the upper part of my cylinder

I have this code which first is supposed to make random points, draw lines through the points and then make these lines radical axes of cylinders. I have two problems with my code. First, it only ...
1
vote
2answers
127 views

MapThread conflicting with DynamicModule

Cross-posted: https://community.wolfram.com/groups/-/m/t/1625808 Answer posted on Wolfram Community I'm creating an interactive UI which allows the user to import data from a spreadsheet, perform ...
1
vote
0answers
42 views

Scale on one coordinate [closed]

I read many examples but I could not fix my code unfortunately. Can you please help me and correct the code to extend x-axes so I can see the picture better. ...
7
votes
3answers
104 views

How to convert a ListContourPlot into a primitive usable with Graphics3D?

Consider a dataset such as the one you can find here. Using ListContourPlot on this dataset we get something like the following: ...
0
votes
1answer
58 views

Cutting a section from a sphere by planes

I want to plot and find out the section of a sphere remaining after putting constraints in terms of cartesian planes. How it can be done? For example, if I have a sphere of $r = 1$, and I put the ...
1
vote
2answers
79 views

Preventing “-Graphics-” Output from ListPlot[] Command

Whenever I try to create a Graphics object in a Mathematica notebook, the output is always "-Graphics-". I have searched and found others who had similar problems, but attempting to implement these ...
4
votes
1answer
67 views

How to get point coordinates from a plot in Mathematica v11?

I have been using the points of Mathematica plots for more than 25 years and it suddenly does not work any longer in version 11: ...
11
votes
2answers
403 views

Is it possible to rotate the Isolines on a Surface Using `MeshFunction`?

This came up in a different context but some expertise in 3D surfaces or the graphic options would be appreciated. I'm trying to extrapolate the curves from any given surface and things seem to be ...
3
votes
2answers
63 views

Putting a vertical line in each Histogram using GraphicsGrid

I'm using GraphicsGrid to show several histograms. In each histogram, I would like to show 2 vertical lines on the 2.5 and 97.5 percentiles. If I had an isolated histogram I would use Line, and Show....
3
votes
0answers
52 views

Is there an easy way to slant / angled dividers in TextGrid or Grid?

Is there an easy way to add angled dividers in TextGrid or Grid. Consider the following: One fake way would be to use the ...
5
votes
1answer
121 views

How to have a different style for edges of a triangle

Consider the following triangle. Graphics[{EdgeForm[Directive[Thick, Red]], Gray, Triangle[]}] The EdgeForm is defining the ...
7
votes
2answers
364 views

Branching points detection in processed image

I want to get the branching coordinates from a computer-generated image like this one: After SkeletonTransform and Pruning, I ...
3
votes
2answers
115 views

Carnot cycle diagram

Note: I have adopted and modified code taken from Wolfram demonstration page. I want to achieve something similar to the following figure: I use the following code: ...
3
votes
2answers
104 views

“Graphics is not a Graphics primitive or directive.”? [duplicate]

I looked through the forum but none of what I've found is helping. ...
10
votes
1answer
139 views

Option Lighting in the Show function does not work

Bug introduced in 11.2 or earlier and persisting through 11.3 There are something wrong when I try to evaluate the example from Lighting Docs, here is the code: <...
3
votes
3answers
80 views

How can I put common frame ticks on the leftmost of a row of graphics?

I have a function which plots a response behavior of model variables holding a reference value constant (the green dot in the examples below) over a common PlotRange (achieved by plotting the ...
4
votes
3answers
212 views

Converting a list of colors into an image

I want to manipulate colors, and merge the resulting vector and rasterize it into an image, controlling the resolution of the pixel. E.g. I tried to: But what I would like to have is an image of 3 ...
8
votes
2answers
385 views

How do I remove artifacts from my ContourPlot3D Valentine?

My version (below) of the "Valentine Formula" that appeared in today's New York Times, has some ugly artifacts that don't appear in the NYT (Java) version: How do I remove these artifacts? ...
0
votes
0answers
18 views

exporting graphics has missing features in pdf format in 11.0.1

I am creating graphics with the following code ...
0
votes
0answers
16 views

Facing difficulty in placing the text In graphics3D

Question 1 I have a cube in which I have to represent the corner of the cube with some text. But I am finding difficulty in placing, I don't want It to be exactly on the corner, I just place in a ...
1
vote
1answer
50 views

Combining Graphics, Graphics3D, and ParametricPlot3D

I'm trying to generate a figure similar to the first figure of enter link description here, so I tried to draw a torus, a disk, and a tube which is tangent to the torus. The disk must be inside the ...
7
votes
1answer
261 views

Plot a point with two colors

I have a list of points that I plot with ListPlot. I want all the points to have two different colors like in the picture how can I do this with ...
1
vote
2answers
110 views

Converting 3d points into a density plot

Is there a way to convert an array of values $(x_i,y_i,z_i), i=1,\ldots,n$ to a density plot instead of a ListPointPlot3D? I don't know if this is duplicated, but ...
-4
votes
2answers
75 views

Wolfram|Alpha not able to graph sum_(n=0)^∞ (-(ExpIntegralE[-n, (-1 + n) Log[x]] Log[x]^(1 + n))"? [closed]

I know for a fact that nothing in my expression is wrong, then why cant Wolfram|Alph graph: sum_(n=0)^∞ (-(ExpIntegralE[-n, (-1 + n) Log[x]] Log[x]^(1 + n))) ? ...
2
votes
1answer
50 views

Adjust graphics output for exporting

(Code based on the answer of @kgrl in the question titled Adding Legend to PieChart). I have two cases that apparently should result to same image size. The first: ...
4
votes
2answers
141 views

How to reverse X-axis in Graphics?

The following Graphics[Circle[], Axes -> {True, True}, ScalingFunctions -> {Identity, "Reverse"}] doesn't work I need "minus" direction go to the right...
1
vote
1answer
37 views

Adding Legend to PieChart

Say counts = {0.18, 0.51, 0.31}; PieChart[counts, ChartLabels -> counts, PlotRange -> All, Frame -> True, FrameTicks -> None] I am completely ...
5
votes
0answers
71 views

Efficient Image Export [closed]

I am trying to export around 10000 plots from Mathematica in order to compile them into an animation with another program. Using the following, where "frames" is the list of plots ...
3
votes
4answers
89 views

Centering axes in a rendered Graphics expression

When displaying a scatterplot using Graphics, is there a way to use the automatic range for the x and y axes, but force the origin to be centered in the image? ...
2
votes
1answer
34 views

Constant disk size on GeoGraphics Image

I would like to know how to generate a constant disk size on a GeoGraphics image. Currently my code is something like this: ...
2
votes
1answer
54 views

Drawing Circle using Image[Graphics[]] - incorrect coordinates

I want to draw a circle with center {x,y} in an image. I use the following code: ...
1
vote
2answers
60 views

Different BoundaryStyle for different sides of a RegionPlot

How can one Define a function in the RegionPlot that gives different BoundaryStyle for different sides? I mean ...
0
votes
0answers
19 views

Plot markers overlying plot frame instead of underneath? [duplicate]

In the following plot the plot markers are overlain by the plot frame: ...
2
votes
2answers
454 views

How can I make a general plot like this in Mathematica?

I want to make two general graphics something like the following. I want to illustrate the approach to the function by means of a polynomial. I have tried the following. ...
5
votes
1answer
103 views

Randomly distributed circles inside an annulus

With the following code: ...
3
votes
2answers
65 views

Modify Axes Range

With the following code: ...
3
votes
2answers
50 views

Overlaying custom plotmarkers onto graphics primitives using Show

I have found the custom plotmarkers package developed by @Alexey Popkov extremely handy for makeing nice, accurate plots. However, I have run into a small issue that I am struggling to make sense of. ...
1
vote
2answers
60 views

Create a moving point along a parametric plot using Manipulate?

Assume that G defined by: G = {Sqrt[1 - x] + I Sqrt[x], Sqrt[1 - x] - I Sqrt[x]} I am trying to create a point that moves along the curves of G from x=0.01 to x=...
0
votes
0answers
6 views

Using manipulate in the plot of a function that depens on a FindRoot function [duplicate]

I've the following two codes: FindRoot[Abs[Uin*Sin[2*Pi*fin*T - (Pi/2)]] - 2*Ud == (Uin - 2*Ud)* Exp[-T/(c*Rb)], {T, 1/(4*fin), 1/(2*fin)}] And: ...
0
votes
0answers
42 views

Generate graphics lines from letters

I would like to convert a letter into a Graphics object, composed of a series of points (or lines). For example, I would like to convert "J" into a single series of points, which I can then join up to ...