
January 26th, 2006, 04:35 AM
| | | Any scripts to create 3-axis bar graphs?
Hi all,
I'm trying to create a 3D graph, which has 3-axis with different labes.
I need to be able to color each of the bars indervidually.
Something like that in excel, i.e. x- axis (species), z-axis(dna code),
y-axis (the frequency of that species-codon).
If anyone knows of any in php, perl, java, R or gnuplot. I would
really be appreciative.
Cheers
Noel
P.S. I've spent hours looking for something I can use to do this
through a script as I have a large data set to work on and the colours
of excel SUX!! | 
January 26th, 2006, 01:15 PM
| | | Re: Any scripts to create 3-axis bar graphs?
On Wed, 25 Jan 2006 20:24:10 -0800, Noel wrote:
[color=blue]
> Hi all,
>
> I'm trying to create a 3D graph, which has 3-axis with different labes.
> I need to be able to color each of the bars indervidually.
>
> Something like that in excel, i.e. x- axis (species), z-axis(dna code),
> y-axis (the frequency of that species-codon).
>
> If anyone knows of any in php, perl, java, R or gnuplot. I would
> really be appreciative.
>
> Cheers
> Noel
>
> P.S. I've spent hours looking for something I can use to do this
> through a script as I have a large data set to work on and the colours
> of excel SUX!![/color]
Have you tried with JPGRAPH? You can find out more on http://www.aditus.nu/jpgraph/index.php
-- http://www.mgogala.com | 
January 27th, 2006, 01:45 AM
| | | Re: Any scripts to create 3-axis bar graphs?
It looks ok, but I'm not sure it can plot a x,y,z bar graph, i.e. each
point on the z-axis is a new series.
Cheers
Noel
I'm still looking into it though. | 
January 27th, 2006, 01:15 PM
| | | Re: Any scripts to create 3-axis bar graphs?
On Thu, 26 Jan 2006 17:34:01 -0800, Noel wrote:
[color=blue]
> It looks ok, but I'm not sure it can plot a x,y,z bar graph, i.e. each
> point on the z-axis is a new series.[/color]
Neither am I, but that would be the first software to look at.
-- http://www.mgogala.com | 
January 28th, 2006, 03:15 PM
| | | Re: Any scripts to create 3-axis bar graphs?
Noel wrote:
[color=blue]
> on and the colours of excel SUX!![/color]
You know you can modify the colour of the dataset in Excel?
Jonathan | 
January 28th, 2006, 11:25 PM
| | | Re: Any scripts to create 3-axis bar graphs?
Really how?
On windows the colour pallete (when you click more colours) is very
limited. On a mac it's unlimited! | 
January 29th, 2006, 04:35 AM
| | | Re: Any scripts to create 3-axis bar graphs?
"Noel" <noel.faux@gmail.com> posted:[color=blue]
> On windows the colour pallete (when you click more colours) is
> very limited.[/color]
Try something like:
Font.Color = "&H000000" 'hexadecimal / RGB
or
Font.Color = "0" 'decimal, (up to 16,777,216)
Microsoft made changing colors quite easy. You get the same number
of colors as presented by the video card. Most video cards display
at least 2^16 colors, approximately 2 million colors more than most
human eyes differentiate. 99% of the video cards even support 2^24
and 2^32 different colors.
If the video card supports that many colors, Excel supports at least
a subset as defined by the the numbering standards (256 shades of
red by 256 shades of green by 256 shades of blue). Multiply 256 x
256 x 256 and you end up with the spectrum supported by any and
all Microsoft software (all the way back to DOS days), and you
end up with the color spectrum that the w3 standards agreed upon
for the Internet.
Considering 256 equals 2 ^ 8.
(2 ^ 8) * (2 ^ 8) * (2 ^ 8) equals 2 ^ 24.
[color=blue]
> On a mac it's unlimited![/color]
Look at it this way... IF the Mac displayed an unlimited number
of colors, the memory required to display just one color would
crash the Mac, consume every ounce of disk space and no one
would be able to post to this newsgroup because your Mac
would suck the life out of the Internet. "Unlimited" is a very big
number corresponding to an infinite amount of memory.
How many colors can you differentiate? Try to tell the difference
between #000000 and #000001? Try it...
<html>
<body style="background-color:#000000;color:#ffffff;">
<p><a href="1.htm">Boo!</a></p>
</body>
</html>
<html>
<body style="background-color:#000001;color:#ffffff;">
<p><a href="0.htm">Boo!</a></p>
</body>
</html>
Hope this helps.
Jim Carlock
Post replies to the newsgroup. | 
January 29th, 2006, 02:45 PM
| | | Re: Any scripts to create 3-axis bar graphs?
Jim Carlock wrote:[color=blue]
> "Noel" <noel.faux@gmail.com> posted:
>[color=green]
>>On windows the colour pallete (when you click more colours) is
>>very limited.[/color][/color]
<snip>
[color=blue]
>[color=green]
>>On a mac it's unlimited![/color]
>
>
> Look at it this way... IF the Mac displayed an unlimited number
> of colors, the memory required to display just one color would
> crash the Mac, consume every ounce of disk space and no one
> would be able to post to this newsgroup because your Mac
> would suck the life out of the Internet. "Unlimited" is a very big
> number corresponding to an infinite amount of memory.
>[/color]
Not to mention the fact it would suck up all the matter and energy in
the universe!
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. jstucklex@attglobal.net
================== | 
January 29th, 2006, 03:45 PM
| | | OT Modify excel colour palette (was Re: Any scripts to create 3-axisbar graphs?)
Noel wrote:[color=blue]
> Really how?
> On windows the colour pallete (when you click more colours) is very
> limited. On a mac it's unlimited!
>[/color]
1. Under the Tools choose Options
2. Hit the Color tab
3. Click on the Modify button
4. Choose the Custom tab
5. Choose the desired colour by clicking, entering RGB values or
entering Hue, Stauration and Luminance.
Jonathan | 
January 30th, 2006, 04:25 AM
| | | Re: OT Modify excel colour palette (was Re: Any scripts to create 3-axis bar graphs?)
Ok this really comes down to interface desgin and usability. On a mac
you can click on a indervidual bar (in a bar graph) and in two steps
get the dialog allowing you to chose what ever color you want, either
the entering rgb values etc, or by the various sliders or by chossing a
predifined colour from the colour pallete (which you can add to!). On
windows, the pallete is not extendable and one is only able to modify
the colours via the steps Jonathan stated, which if you have a lot
changes to make is a right pain in the ass. So in summary, the
interface to gain access to the tools to change your colour is
painfully hidden on windows and visible and easy to access on a mac.
Ok 'unlimited' is a bit of an overstatement, what I really ment was:
what ever colour your heart desires.
Cheers
Noel
PS. Jonathan thanks for the tip. | 
January 30th, 2006, 10:45 AM
| | | Re: OT Modify excel colour palette (was Re: Any scripts to create3-axis bar graphs?)
Noel wrote:[color=blue]
> Ok this really comes down to interface desgin and usability. On a mac
> you can click on a indervidual bar (in a bar graph) and in two steps
> get the dialog allowing you to chose what ever color you want, either
> the entering rgb values etc, or by the various sliders or by chossing a
> predifined colour from the colour pallete (which you can add to!). On
> windows, the pallete is not extendable and one is only able to modify
> the colours via the steps Jonathan stated, which if you have a lot
> changes to make is a right pain in the ass. So in summary, the
> interface to gain access to the tools to change your colour is
> painfully hidden on windows and visible and easy to access on a mac.
>
> Ok 'unlimited' is a bit of an overstatement, what I really ment was:
> what ever colour your heart desires.
>
> Cheers
> Noel
>
> PS. Jonathan thanks for the tip.
>[/color]
And it's something I haven't changed since I installed W2K. Just set it
for True Color and forget it.
This is a PHP newsgroup - not a mac advocacy group. Please take your
bias elsewhere.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. jstucklex@attglobal.net
================== | 
January 30th, 2006, 10:25 PM
| | | Re: OT Modify excel colour palette (was Re: Any scripts to create 3-axis bar graphs?)
I'm neither a mac nor a windows advocate, I use what ever gets the job
done. My last post was simply a replay to the large response to my
inital post.
Cheers,
Noel |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | | | What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over network members.
|