473,811 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2980
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*******@gmai l.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="backgrou nd-color:#000000;c olor:#ffffff;">
<p><a href="1.htm">Bo o!</a></p>
</body>
</html>

<html>
<body style="backgrou nd-color:#000001;c olor:#ffffff;">
<p><a href="0.htm">Bo o!</a></p>
</body>
</html>

Hope this helps.

Jim Carlock
Post replies to the newsgroup.
Jan 29 '06 #7
Jim Carlock wrote:
"Noel" <no*******@gmai l.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*******@attgl obal.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

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

Similar topics

2
12753
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 scripts for that). Some of the Sql scripts can be quite long, and so we break them out to their own script files and call them all from one main ..sql file, using sqlplus to execute it all. The admin would run the file like:
2
5079
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 sure that the same problem arise within VB because we have also wrote an app that is meant to run SQL scripts (But falls over the same). Basically, there are some SQL keywords that are Query Analyser only.. ie: GO Does anyone know of a list of...
6
14559
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 without having to establish a separate database connection for each script: isql -Ux -Py -Ss -i script1.sql isql -Ux -Py -Ss -i script2.sql isql -Ux -Py -Ss -i script3.sql
6
1451
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 records. What are my options? isql? osql? are there other ways? Thank you
8
3746
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 anyone know of a way to speed this up? Since our database is currently changing all the time, we are constantly having to re-create our database from these scripts.
8
3997
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( Pk_myPrimaryKey INTEGER CONSTRAINT pk PRIMARY KEY DESCRIPTION 'This is the primary key of the table',
0
1488
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 who care). In the documentation it says: To generate create scripts 1. In Server Explorer, right-click the database object for which you want to generate create scripts. This might be the entire database, a specific table, stored procedure,...
4
1605
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 automated fashion. For security reasons, I need to be sure that the create script can only create tables, columns etc and not things like snooping in other databases and/or formatting the server.
24
2855
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 a linux/unix command line guy quite experienced in shell scripts etc. I have a heap of command line utility scripts which I run directly. What is the best way to create python command line scripts but exploit the (loadonly) speed-up benefit of...
1
3819
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 another Winforms app) to create a database, perhaps user, tables, stored procedures, .. Only the user introduces name of database, server, and if has Windows authentication; if not Windows authentication, I need user and password.
0
9728
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10402
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10135
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7670
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6890
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3867
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.