Questions tagged [opacity]
The opacity tag has no usage guidance.
55
questions
2
votes
1
answer
85
views
Is there an alternative (instead of using Opacity) to obtain a clear parts for the overlapping area of three RegionPlots?
I want to combine three RegionPlot, and I need to do this in a way such that the overlapping and intersection parts of the plots are visible and clear. I use this ...
5
votes
2
answers
90
views
Exporting Plot with Filling creates unwanted Outline around Filling
Bug introduced in 12 or earlier and persisting through 13.0.0 [CASE:4899765]
The following code generates a plot that has a faint outline around the top, left, and right boundaries of the filling. ...
7
votes
3
answers
414
views
What is the cause of the weird output in the plot?
Bug fixed in 12.3
I am using v12.1.
I printed out the graph using the plot as follows.
But there was a strange dirt. This phenomenon occurs in the Sin and Cos functions.
...
2
votes
1
answer
62
views
Is it possible to have the opacity as a function of the input variable in Plot3D?
It is possible to make a Plot3D of a function $f(x,y)$, and to have the plot having its opacity $\alpha$ decrease as $x$ increases? For example say the plot has a ...
0
votes
1
answer
67
views
What should I add to ListPlot to make result transparent?
(* Plot shows two overlapping data sets. I want to see all data by making them transparent. What should I add to ListPlot to make data transparent ? *)
...
0
votes
1
answer
151
views
How to make Sphere Transparent using ParametricPlot3D
This is the code I used
Edit: This is the full code to create this image
...
1
vote
0
answers
66
views
Using MaTeX with outline to create transparency around the equation
Is there a way to combine outline around equations as described here, with the ideas proposed here to create images with transparent background?
Currently, since outline requires a color, I end up ...
3
votes
3
answers
303
views
transparent regions in 3D plots (flat semi-circle)
I am trying to plot one (or two) flat semi circles that are filled, and the filling is transparent.
Looking at some examples online I have come up with the following:
...
7
votes
1
answer
460
views
Draw an arrow such that this arrow gradually dims away?
How to draw an arrow such that this arrow gradually dims away?
Say the arrow head has Opacity[1],
but the arrow end has ...
4
votes
1
answer
64
views
ColorFunctionScaling and OpacityFunctionScaling with values other than 0 and 1
I have a 3D density plot that I was able to get to look okay with setting ColorFunctionScaling and OpacityFunctionScaling to ...
3
votes
1
answer
257
views
Opacity on Mac does not work
I am trying to run the following code, taken from https://reference.wolfram.com/language/ref/ContourPlot3D.html:
...
6
votes
2
answers
250
views
Opacity gradient in custom legend
I need to produce the legend of a plot which encodes a color gradient together with a color gradient. In particular, I would like the image bellow to have the blueish edge faded and the redish solid:
...
11
votes
4
answers
367
views
Change Opacity along a ListLinePlot
I'm trying to change the opacity of a line in a ListLinePlot for increasing x-value.
E.g. the line should have opacity 1 at beginning and shade than down to opacity along the line.
I want to take the ...
4
votes
3
answers
383
views
Transparent Background in an image
I'm wondering if it's possible to somehow change the background of the result of a plot function so that whenever I paste it in a movie editor, it will be transparent (not white). An example code is:
<...
14
votes
4
answers
949
views
Opacity in Mathematica 12.1 not working properly
In Mathematica 12.1 if I try use Opacity less than 1, it does not work.
...
2
votes
1
answer
96
views
Problem importing a pdf with a character with increasing opacity
I want to import a pdf in MMA(ver 12.0).
The pdf is here.
This pdf has a "$c^2$" in the middle of the white square that is completely transparent in the first page, then it become progressively more ...
11
votes
1
answer
347
views
Mottled appearance of ContourPlot3D with transparency
I'm trying to make a ContourPlot3D that needs to be transparent. With transparency, however, something odd happens.
With ...
0
votes
1
answer
79
views
Problem With Filling
I am plotting the graph of the logistic equation in a manipulate. My borders range from {x, 0, 100}, {y, 0, 100}. I would like to fill the background of the plot with a light grey color, almost ...
4
votes
1
answer
86
views
reduced image quality / sharpness when texture has opacity / alpha / transparency
The output of Graphics3D looks blunt (polygon borders, arrow) when a polygon primitive is present in the scene with texture that has opacity channel. Also it seems that different kind of texture ...
0
votes
0
answers
134
views
How to save plots with opacity[0.5] with transparency?
How to save ParametricPlot with opacity[0.5] with transparency?
When I save the image the transparency is completely lot. in both pdf and eps files. I use
The following code for saving my parametric ...
0
votes
0
answers
61
views
Workaround for Opacity + Magnify bug in version 12?
Is there a workaround for the following bug in version 12.0.0. This is in MacOSX.
...
0
votes
0
answers
65
views
Why the Opacity[] looks not work on my PC?
Help: Why the Opacity[] looks as a failure when I run it on my PC? How to do? The following figure is a code line in the Help. The left side is the result, and the transparency effect is not obvious, ...
6
votes
2
answers
361
views
How does one splice together parts of two 3D density plots, without changing the original colors?
How does one splice together the t=0 to 59 part of the first plot with the t=59 to 60 part of the second plot, without changing the original colors of either plot? I have spent hours looking for an ...
0
votes
1
answer
121
views
Are there better ways to plot a continuous scalar function of three variables?
I am plotting a continuous scalar function of three variables with this code:
...
1
vote
0
answers
69
views
What is the correct way to use OpacityFunctionScaling with DensityPlot3D?
I am trying to plot solution of heat PDE in 3D. Inside a cylinder.
To do this, I am using DensityPlot3D. But I am having hard time getting the colors to show in ...
0
votes
1
answer
301
views
Opacity or related issue with DensityPlot3D
I'm trying to make use of the function DensityPlot3D with the following specific example
...
0
votes
1
answer
111
views
How to make object to be transparent?
code follows
Graphics3D[{EdgeForm[None],
Import["ExampleData/seashell.stl", "GraphicsComplex"]
}
]
can i make the seashell to be transparent?
example from ...
1
vote
0
answers
95
views
MaTeX bug when combined with a transparency
Works fine:
Graphics3D[{{Opacity[1], Polygon[{{0, 0, 0}, {1, 0, 0}, {1, 1, 0}, {0, 1, 0}}]},Inset[MaTeX["P", Magnification -> 4], {.5, .5, .5}] }]
Works not ...
2
votes
2
answers
168
views
Transparency mask with vector image
Suppose we have a vector Graphics object, along with an arbitrary shape to use as a mask.
...
4
votes
1
answer
1k
views
How to make transparent all the white areas of an image
Let's take a sample image
Now I want to make transparent all the white areas of the image, so as to be able to copy/paste it above text
After the copy/paste only the color parts (non-white) of the ...
1
vote
0
answers
153
views
Problem Exporting rotated MaTeX with a transparency
I'm trying to save an Graphics with rotated MaTeX and a transparency. My code is below.
...
9
votes
3
answers
1k
views
Check if image has alpha channel
How can I check if an Image has an alpha channel?
"What have you tried?"
AlphaChannel and ...
7
votes
1
answer
164
views
What is the logiс behind handling alpha-channel by various image-processing functions?
(Cross-posted on Wolfram Community.)
When working on the answer to this question I discovered that starting from Mathematica 10.0 the behavior of such functions as ...
7
votes
1
answer
101
views
A bug and inconsistency in current image arithmetic operations?
Let us start from a single-pixel RGBA image:
i = Image[{{{0., .4, .7, .8}}}, Real, ColorSpace -> "RGB"];
Multiplying by .5 ...
10
votes
2
answers
308
views
Blur, GaussianFilter and ImageConvolve doesn't work on some images
In versions 8.0.4 and 9.0.1 applying Blur to an image gives expected result:
...
2
votes
2
answers
348
views
Color disparity in legend and graph due to opacity
I have the following graph:
Due to opacity, my legend coloring is not matching my graphs and it might be confusing. Is there any remedy?
I could not get the coloring what I wanted due to the opacity....
4
votes
0
answers
79
views
Inconsistent opacity of points in exported 3D graphics with vector image format
An input of 3D graphics of points with specific opacities for each gives a correct output graphic in its worksheet, but its exported graphic with vector format (e.g. eps, pdf, etc) gives wrong ...
2
votes
0
answers
96
views
Transparency not retained Mathematica 3ds Export
I have a semi transparent 3d model that I have created in Mathematica and exported to 3ds, and obj file formats. Once I open the 3ds, obj files with blender or GLC Player, the models are not ...
2
votes
0
answers
323
views
Plots in a Grid: negative spacing and transparency
I am trying to produce a grid of color plots, where only the outer frame borders have labels, labeled ticks, and color bars. So the outer dimensions of all plots in the grid are different, because ...
5
votes
3
answers
393
views
Histogram with the smaller bar in front
I am trying to visualise multiple data sets in one histogram. When using one or two datasets, the automatic transparency of the bars keeps everything relatively easy to see. When going to three or ...
1
vote
1
answer
418
views
How do I set the transparency in Image3D?
I have an Image3D plot, I like the color palette, but I don't like that for zero values the blocks are simply transparent (I would like them faint, but visible).
How do I change the transparency ...
10
votes
1
answer
246
views
Weird behaviour of multiple transparent Raster3D objects in one Graphics3D
Consider this code
...
9
votes
1
answer
331
views
Transparent bitmaps or graphics in gui objects initially appear wrong
Bug introduced in V9.0 or earlier and persisting through V11.3
I have a problem with images with alpha channel which I want to use as labels on Button etc. Unless ...
4
votes
1
answer
471
views
Superimposing ListLineIntegralConvolutionPlot with transparent noise over ListContourPlot
I have an array of 128x256 data points in a rectilinear array. For each point there is a 2D vector quantity and a scalar quantity (normalised to -1 <= x <= 1).
I very much like the ...
1
vote
1
answer
324
views
Make continuous 3D tube out of 2D image (Mathematica 8) [duplicate]
I have the following image with transparency:
which I want to paste repeatedly into a 3D space to make it like a tube, something like this (but denser):
I tried using the code from here but it tells ...
18
votes
1
answer
1k
views
How to obtain transparent animated gif via Export?
I have the following code to create animated GIFs:
...
28
votes
3
answers
572
views
How can I restore the old ImageCompose behaviour?
Bug fixed in 11.3
Update
This issue caught me out again so I contacted support once more. They have confirmed that the development team considers the new behaviour to be correct and claim that "...
17
votes
3
answers
2k
views
Graphics3D: Opacity limitations
Trying to make a better-looking globe model, I start off with something like this
To enhance the 3D effect, I want the lines further from the eye to be "grayer" than the lines closer to the eye, as ...
5
votes
1
answer
2k
views
Problem When Trying to Export Graphics with Transparency to SVG
I'm trying to export a graph as a graphic to an SVG file with transparent background. When the background is specified as a color (or unspecified), it works just fine. When the background is specified ...
6
votes
0
answers
234
views
Texture[] not working properly with Image AlphaChannel
I recently encountered a problem when combining multiple texture layers in an graphics object when the texture comes from an image with alpha channel. Apparently the alpha channel of the image passed ...