473,394 Members | 1,810 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,394 software developers and data experts.

Gnuplot setting titles/labels from input

As described in the title, my data file looks like this (but is subject to change). The spaces are set to tabs in the original text file

0.79 14035.9514242 2105.39271363
1.235 62934.4320192 9440.16480289
1.24 60046.585558 9006.98783371
1.662 108817.803817 16322.6705726
2.159 93968.3013455 14095.2452018
2.16 103034.193554 15455.1290331
3.6 48481.88 154.7502
4.5 26709.49 107.7075
5.8 19716.24 133.0724
8.0 11311.64 95.06903
24.0 1656.058 72.69656

USB270.04141-29.71615

It plots the points well, I was just wondering if I could directly tell gnuplot to set the text that I have in the 13th line as the title to the plot.

I also have a similar inquiry with setting the legend to text I have in the following file:

0.85 55900.8153737 55971.5738285 34391.2535468
1.24 118645.454852 117689.715812 96136.8849147
1.66 134269.311 133607.709601 119998.137376
2.16 116632.565409 116444.626045 110244.38637
3.6 48481.88 48481.88 48481.88
4.5 29369.0154844 29384.1184986 29716.8780647
5.8 19362.079399 19404.2451363 19794.3770414
8.0 12941.9205963 13084.9356887 13518.5638942
24.0 2028.22574298 2070.68005847 2195.43772642

Model:2987---Temperature:4300
Model:3037---Temperature:4400
Model:2988---Temperature:4300

This plots well, but I would like to set the legend so that it reads directly from the text file as opposed to me having to input the title and label manually.

Like I said up top, the placement of the labels/title are subject to change if it will make the endgoal more easily obtainable.

Thanks
Apr 2 '12 #1
0 1712

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Rama Calaga | last post by:
Hi, I use both python and gnuplot a lot, but I am unable to find a way to embed gnuplot "window/canvas" into tkinter. BLT option in PMW is not so powerful and not so great, any suggestions ?? ...
9
by: syd | last post by:
I don't even know where to begin. This is just bizarre. I just picked up the Gnuplot.py module (a light interface to gnuplot commands) and was messing around with it today. I've got a tiny...
6
by: Joseph Suprenant | last post by:
Hello all, I have a C++ program, it does some calculations on things and then prints out a file in the format in which GNUPLOT can use. So my question is how would i call GNUPLOT from my C++...
1
by: Evan | last post by:
When setting up an input box in VB .Net to get a SQL user name for a SQL connection, if the enter key is pressed on the input box (regardless whether text has been entered) the program crashes on...
2
by: Jim Witte | last post by:
Hi, How do I set a file input element? If it's a text input, I can set the value property. But this doesn't work with file inputs. And no, I can't change it - I'm writing a script to...
1
by: Nicola Kaiser | last post by:
Hi, I´m using Gnuplot via gnuplot.py and I´m looking for a way to get the plotting output (terminal set to png in my case) piped in a string instead of to stdout or a file. Is there any...
3
by: Dalan | last post by:
I have been using a module for printing labels in Access 97, and although it works fine, I would like to resolve a minor problem. The module allows for setting the number of labels to print and/or...
0
by: Sally Whitfield | last post by:
8Zcc ----uMyItidGBFcIxNvn7Ubo Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <html><head><style type=3Dtext/css>.eyebrow { FONT-WEIGHT: bold; FONT-SIZE= : 10px;...
13
by: amykimber | last post by:
Hi all, I know I'm doign something really daft, but I can't get this to work... I have a form with a bunch of inputs called ship_owner - why the ? Because I'm submitting this page though php...
1
by: =?Utf-8?B?RXBvaCBSaW8=?= | last post by:
Hi, I am trying to create a way to edit data in a database. Response.Write ("<input name=""issue"" value=" & recSet.Fields("Name") & """ If the name contains a space (i.e. first and last name)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.