How to make the background of graphics made with software transparent?Hello!
For example, make this bubble chart
How to make the background of the graphic transparent? Thanks!
GraphicsRe: 如何将用软件制作图形的背景设透明?Can you explain what you are trying to do? For example,
- Do you want to put a PNG with alpha-transparency into the graph? (Easy. It just works.)
- Do you want to use alpha-transparency in a script to draw transparent lines? (Also easy. Use the transparent() function.)
- Do you want a static picture behind the data? (Also easy, unless you mean #4. Just move the picture to the back so it draws first.)
- Do you want to save the graph to a PNG and have the white background be transparent? (Not easy. JMP does have a preference for the report background, but the graph always forces a white rectangle. @XanGregg I'd wish for a transparent background color option.)
The difference between 3 and 4 is huge: 3 places the data points over an image that will always be in the same place with respect to the data. 4 places the data points "on a sheet of glass"; you can then slide the glass over different images. You might want 4 if you are building a web page with a scrolling effect. Otherwise 3 should address most needs. (Even with 3, if JMP is running you can move or change the background image using JSL or the mouse.)
If you really need the last one, there are two one possible workarounds:
- Save as SVG, then manually (or with a script you write) edit the SVG text to remove the white background.
- probably won't work.
Re: How to make the background of graphics made with software transparent?I want to achieve this purpose:
First, use gender as a classification, and make a bubble chart with male and female respectively (not used for drawing)
Then the effect of overlapping these two images
Thanks experts!


Re: How to make the background of graphics made with software transparent?I don't know how to change the graphic form of different genders

Re: 如何将用软件制作图形的背景设透明?There are two ways to do that. I think GraphBuilder and RowState markers would be the easiest. First set the markers for the groups:
Circle and Triangle markers
Set up GraphBuilder
You can change the jitter option if you don't want the overlapping symbols dodging each other.
Or you can do it with BubblePlot the way you were trying by using Edit->Copy Frame Content and Edit->Paste Frame Content:
Use Draw and Shape to make the hollow shapes.
Copy the content from one...
...paste to the other.
I do not like the copy-paste choice because it would be an extra step, hard to script, leaves an extra graph on the screen, and the pasted points in the destination graph are NOT selectable. I think the GraphBuilder choice is much better.
Re: How to make the background of graphics made with software transparent?Thanks a lot for the expert help!
It would be better if you could get JSL for these operations.
Thanks!