Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10188 > unrolled thread

bubblechart axis scaling

Started bydoubleslash <doubleslash@gmail.com>
First post2012-05-24 07:32 +0000
Last post2012-05-29 09:48 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  bubblechart axis scaling doubleslash <doubleslash@gmail.com> - 2012-05-24 07:32 +0000
    Re: bubblechart axis scaling link285 <link285@live.com> - 2012-05-25 08:56 +0000
    Re: bubblechart axis scaling Roger Wilson <rogerhw999@gmail.com> - 2012-05-29 09:48 +0000

#10188 — bubblechart axis scaling

Fromdoubleslash <doubleslash@gmail.com>
Date2012-05-24 07:32 +0000
Subjectbubblechart axis scaling
Message-ID<jpko5l$ekv$1@smc.vnet.net>
Hello,
I need the yaxis scaling to be 1:1 with the bubble sizes. For example,
BubbleChart[{{1,1,1},{1,1.5,1}},BubbleScale->"Diameter"] should
produce 1 bubble directly on top of the other. With the way it's done
now, the 2 bubbles are very far apart, and that's because the z:y
ratio is like .1.  Is there a way I can change this? Thanks

[toc] | [next] | [standalone]


#10211

Fromlink285 <link285@live.com>
Date2012-05-25 08:56 +0000
Message-ID<jpnhfc$q90$1@smc.vnet.net>
In reply to#10188
Good question. I also want to know this.



[toc] | [prev] | [next] | [standalone]


#10248

FromRoger Wilson <rogerhw999@gmail.com>
Date2012-05-29 09:48 +0000
Message-ID<jq260t$6ig$1@smc.vnet.net>
In reply to#10188
On Thursday, May 24, 2012 8:32:05 AM UTC+1, doubleslash wrote:
> Hello,
> I need the yaxis scaling to be 1:1 with the bubble sizes. For example,
> BubbleChart[{{1,1,1},{1,1.5,1}},BubbleScale->"Diameter"] should
> produce 1 bubble directly on top of the other. With the way it's done
> now, the 2 bubbles are very far apart, and that's because the z:y
> ratio is like .1.  Is there a way I can change this? Thanks

I ended up writing a wrapper function which put two invisible bubbles bottom-left and top-right of the plotrange and making sure none of my data was outside of that plot range (filtering if necessary).  This then means the bubbles are a fixed size with-respect to the plot itself since bubble size scales to the plotrange.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web