LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-29-2010, 05:10 AM   #1
kilauea
LQ Newbie
 
Registered: Jul 2010
Distribution: Xubuntu 13.10
Posts: 5

Rep: Reputation: 1
Gnuplot-Pyxplot indexing symbols and colors for large datasets?


Hi, I discovered the potential of Gnuplot and Pyxplot few days ago and really would like to start using it, but got already stuck for a first very simple problem even though searching my way through google and documentation...After more than 5 hours trying I would really appreciate some help.

I have a file with four columns: x, y, index number for symbol type, index number for fillcolour. x and y are single data points. I would like to plot them in a 2D scatter plot and the program to recognize for each data point a symbol type and a colour from my table columns. The goal is to have groups of data with same symbol and colours by only preparing one table with four columns
------------------------------
table e.g.

x y symbol colour
'1.1' '2.1' '1' '3'
'1.2' '2.2' '2' '4'
-----------------------------
my script would start like:

set xlabel "x"
set ylabel "y"
set xrange [1:1.5]
set xtics 1, 0.1

plot 'data.csv' using 1:2:3:4 with points fillcolor variable
-----------------------------------
column 3 would indicate the symbol type and column 4 the symbol fillcolour.

Its my first post here, sorry if its not clear.

Last edited by kilauea; 07-29-2010 at 06:35 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
'nm' lists all symbols - including static library symbols painulyarun Programming 4 04-06-2010 04:04 AM
recoll indexing error while indexing Mail/ [SOLVED] ajnabi Linux - Software 1 09-14-2009 12:44 AM
Konqueror: symbols in front of and colors of filenames JZL240I-U Linux - Software 3 01-11-2006 07:19 AM
graphing large datasets evolooshun Linux - Software 4 10-31-2004 02:34 PM


All times are GMT -5. The time now is 03:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration