Message Boards Message Boards

0
|
4446 Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Bubble chart x,y,z

Posted 9 years ago

Hi everyone!

I am trying to plot the attached data (X,Y,Z) in a bubble chart but I would like the small bubbles to be in front so I could see them.

Also, is it possible to replace the numbers on the y axis with words?

Thanks a lot!

POSTED BY: Charlotte D
4 Replies
Posted 9 years ago

If you look in the help pages at the Sort function and you click on Details then it will show you the simplest example of how to sort things into a custom order. Since you want to sort triples on the last value then perhaps you could try OrderedQ[{Last[#1], Last[#2]}]& and see what that does for your list.

POSTED BY: Bill Simpson

What about permuting your data?

And look in the help section under "Ticks" (Generalization and Extensions). It is possible to define a function for ticks, and this function could deliver text if you define it properly

ticks[min_, max_] := 
 Table[If[EvenQ[i], {i, i, .06, Red}, {i, i, .02, Blue}], {i, 
   Ceiling[min], Floor[max], 1}]

Graphics[Circle[{0, 0}, 4], Axes -> True, Ticks -> ticks]
POSTED BY: Hans Dolhaine
Posted 9 years ago

My bad! Here they are!

Attachments:
POSTED BY: Charlotte D
Posted 9 years ago

Your data didn't get attached. Please edit to try again.

POSTED BY: Bill Simpson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract