473,326 Members | 2,095 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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!!

Jan 26 '06 #1
11 2947
On Wed, 25 Jan 2006 20:24:10 -0800, Noel wrote:
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!!

Have you tried with JPGRAPH? You can find out more on
http://www.aditus.nu/jpgraph/index.php

--
http://www.mgogala.com

Jan 26 '06 #2
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.

Jan 27 '06 #3
On Thu, 26 Jan 2006 17:34:01 -0800, Noel wrote:
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.


Neither am I, but that would be the first software to look at.

--
http://www.mgogala.com

Jan 27 '06 #4
Noel wrote:
on and the colours of excel SUX!!


You know you can modify the colour of the dataset in Excel?

Jonathan
Jan 28 '06 #5
Really how?
On windows the colour pallete (when you click more colours) is very
limited. On a mac it's unlimited!

Jan 28 '06 #6
"Noel" <no*******@gmail.com> posted:
On windows the colour pallete (when you click more colours) is
very limited.
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.
On a mac it's unlimited!


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.
Jan 29 '06 #7
Jim Carlock wrote:
"Noel" <no*******@gmail.com> posted:
On windows the colour pallete (when you click more colours) is
very limited.

<snip>
On a mac it's unlimited!

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.


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.
js*******@attglobal.net
==================
Jan 29 '06 #8
Noel wrote:
Really how?
On windows the colour pallete (when you click more colours) is very
limited. On a mac it's unlimited!


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

Jan 29 '06 #9
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.

Jan 30 '06 #10
Noel wrote:
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.


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.
js*******@attglobal.net
==================
Jan 30 '06 #11
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

Jan 30 '06 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: RJ | last post by:
We currently send product releases to our customers, and often have to include scripts that need to be ran on the Oracle databases (also do it for SqlServer customers, but we use a different set of...
2
by: Mark Davies | last post by:
Hi all, I think I have the right group, if I don't then I do apologize. My problem is that I'm trying to run a SQL script within a VB Environment. The actual program is WISE Installer, but I'm...
6
by: Alex Vilner | last post by:
Hello! We have a set of individual .SQL scripts which we would like to execute against a MS SQL Server 2000. Is there any way to have ISQL utility (or any other means) to execute all of them...
6
by: serge | last post by:
What is the fastest way to generate an SQL 2000 database out of SQL scripts. The SQL scripts contain the create tables, views, stored procedures, triggers, constraints, and the tables DATA...
8
by: Mike Nau | last post by:
We currently have all of our schema and testdata laid out in a large set of sql scripts. It currently takes about 15 minutes to run the scripts on a Dual 1.7ghz box with 1gb of ram. Does...
8
by: doomx | last post by:
I'm using SQL scripts to create and alter tables in my DB I want to know if it's possible to fill the description(like in the Create table UI) using these scripts. EX: CREATE TABLE(...
0
by: tommie.nygren | last post by:
I am using Visual Studio.NET 2003 Enterprise Architect Edition (according to my IT guy... how do I actually check what version of it I am using?) and SQL Server Developer Edition (8.00.194 for you...
4
by: Ward Bekker | last post by:
Hi, For a service I'm working on I need to ask the user for their database create script. It's used to re-create the users database schema in a temporary database on a in-house server in an...
24
by: Mark | last post by:
Hi, I'm new to python and looking for a better idiom to use for the manner I have been organising my python scripts. I've googled all over the place about this but found absolutely nothing. I'm...
1
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi mister, I have an Winforms app (Client) and Web app + WCF Services + Windows Services (Server). In server, I have installed SQL SERVER 2000. Now, I want create a installer (MSI.exe or...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.