Jonathan Lynch | 1 Jul 17:17 2005
Picon

Re: gnuplot xtic question

I have gone through the code for axis.c in the gnuplot sources. Below is
some pseudo code containing the pieces of code that I think are relevant
to what I am trying to do and also my understanding of what they do.
Again I am using a C program to calculate the position of xtics. Then
when i generate a "set xtics" command that will contain all the tic
values I want along with labels ( which is going to be minutes:seconds).
The maximum range of what I want to graph will be 1 hour, but
realistically it will be about 500 seconds. 

I dont understand how the tic interval is calculated in the funtion 
quantize_normal_tics. Could someone explain to me using pseduo code etc
how it works ?

Also the function quantize_duodecimal_tics rounds the tic interval. It
is called from the quantize_time_tics function when the format of the
axis is time. It seems to be similar to the quantize_normal_tics
function.

I would appreciate any responses
Jonathan

---------------------------------------------------------------------------

void setup_tics(axis, max)
{

	//part that im interested in 	
	//TIC_COMPUTED = default; gnuplot figures them
	} else if (ticdef->type == TIC_COMPUTED) {
       		 ticstep[axis] = tic = make_tics(axis, max);
(Continue reading)

juenglin | 2 Jul 18:39 2005
Picon

interfacing gnuplot

Hi,

I am trying to use gnuplot as a plotting facility for an application.
To that end, I start 'gnuplot -' in the background and communicate
with it via pipes. It works okay and could be a lot easier if
gnuplot were designed for this purpose. BTW, I am wondering if the
'-' command line switch has any effects other than telling gnuplot
to take its input from stdin (the only other effect I observed is
that it omits it's startup message).

Are there any plans to improve gnuplot with respect to interfacing
with other applications, e.g., defining an API and offering a
'libgnuplot' build option?

Thanks,
Ralf

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-info

Hans-Bernhard Broeker | 4 Jul 10:50 2005
Picon
Picon
Picon

Re: interfacing gnuplot

juenglin <at> cecs.pdx.edu wrote:
> I am trying to use gnuplot as a plotting facility for an application.
> To that end, I start 'gnuplot -' in the background and communicate
> with it via pipes. 

The "-" is a placebo in this case.  Just pipe directly into gnuplot --- 
it's smart enough to recognize a redirected stdin all by itself.

> Are there any plans to improve gnuplot with respect to interfacing
> with other applications, e.g., defining an API and offering a
> 'libgnuplot' build option?

Hopes and wishes, yes, but nothing as solid as "plans".

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-info

Picon

GNUPlot version 4.0

Hello,

The command "set terminal png transparent nocrop enhanced font arial 8
size 1200,300" works in the windows version of GNUPlot 4.0. In the Linux
version 4.0, it says
"expecting: {small, medium, large},[no]transparent, or {monochrome,
gray, color, [xRRGGBB] }". Why the difference ? Please tell me if its
possible to write code that's independent of platform.

FYI The version in GNUPlot 4.0 Linux says :
G N U P L O T
Version 4.0 patchlevel 0
last modified Thu Apr 15 14:44:22 CEST 2004
System: Linux 2.6.9-1.667

Thanks.

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-info

Hans-Bernhard Broeker | 5 Jul 17:18 2005
Picon
Picon
Picon

Re: GNUPlot version 4.0

Chennupati, Balakrishna (HP Labs India) wrote:
> The command "set terminal png transparent nocrop enhanced font arial 8
> size 1200,300" works in the windows version of GNUPlot 4.0. In the Linux
> version 4.0, 

You're problem is right here: you speak of "the" Linux version, but such 
a thing doesn't exist.  There exist versions of gnuplot compiled by 
various people, including Linux distributors.  Some of them made rather 
sub-optimal configuration choices for their builds.

> Why the difference? 

Because your Linux binary was built with the wrong PNG driver.  You'll 
see the difference if you "show version long" on both platforms and 
check the "Compile options" part.

> Please tell me if its possible to write code that's independent of 
> platform.

gnuplot tries to keep scripts as platform-independent as possible, but 
the availability of terminal drivers and the options they support is 
where this ceases to work.  "set terminal" commands essentially cannot 
be fully portable.

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
(Continue reading)

Matt Kopeck | 6 Jul 16:31 2005
Picon

Graphing Incorrectly

Hi,

I have the following input file:

104     09:14
104     09:15
107     09:16
105     09:18
85      14:56
92      08:17

I am trying to graph this using boxes but the graph isn't doing what I
want...Here are the commands I am giving gnuplot:

gnuplot> set xdata time
gnuplot> set timefmt "%H:%M"
gnuplot> plot ["0:00":"23:59"] "email_input.txt" using 2:1 w boxes

Can anyone help me to get this graphing correctly?

Thanks,
Matt
************DISCLAIMER*************
This e-mail and any files transmitted with it are confidential and intended solely for the use of the
individual or entity to whom they are addressed.  If you are not the named addressee, please notify the
sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your
system. If you are not the intended recipient you are notified that using, disclosing, copying or
distributing the contents of this information is strictly prohibited.
************DISCLAIMER*************

(Continue reading)

Hans-Bernhard Broeker | 6 Jul 16:49 2005
Picon
Picon
Picon

Re: Graphing Incorrectly

Matt Kopeck wrote:

> I am trying to graph this using boxes but the graph isn't doing what I
> want...

Odds are this is because you didn't read "help boxes", the first 
paragraph in particular.  Because you this, script fails to tell gnuplot 
what it might be that you want. (BTW: you forgot to tell us, too)

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-info

Paul Matthews | 6 Jul 18:49 2005
Picon
Picon

saving images in gnuplot


Dear Gnuplot people

I like the new (version 4.0 patchlevel 0) version of gnuplot,
especially the 'set pm3d map' plots. 
It is running on a Sun V20z dual opteron with suze linux 9.0. 

But I am having difficulty saving images
in a sensible format. 

eps is OK but not very efficient though I suppose I could gzip them.

gnuplot's terminal options dont seem to include gif or jpeg any more 
("unknown or ambiguous terminal type").

There is  png but that gives an error when I do the pm3d plot:

Error: terminal "png" does not support continuous colors.

So - what image format should I be using these days
for efficient storage of gnuplot images?
 (and ultimately for making movies)

Paul Matthews

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

(Continue reading)

Hans-Bernhard Broeker | 6 Jul 20:27 2005
Picon
Picon
Picon

Re: saving images in gnuplot

Paul Matthews wrote:

> especially the 'set pm3d map' plots. 
[...]
> eps is OK but not very efficient though I suppose I could gzip them.

That's why there's a special touch-up script for pm3d postscript output
distributed in the source tarball.  See gnuplot/pm3d/contrib.

> gnuplot's terminal options dont seem to include gif or jpeg any more 
> ("unknown or ambiguous terminal type").

Incorrect conclusion.  That's not gnuplot's doing, but a consequence of 
what libraries you (or whoever did that) made available at the time of 
building it.

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-info

Matt Kopeck | 7 Jul 17:26 2005
Picon

x-axis settings

Hi,

When I use:

gnuplot> set xdata time
gnuplot> set timefmt "%H:%M"

I get the time plotted along the x-axis but I also the date.  Is it
possible to get the time plotted without the date?

Thanks,
Matt
************DISCLAIMER*************
This e-mail and any files transmitted with it are confidential and intended solely for the use of the
individual or entity to whom they are addressed.  If you are not the named addressee, please notify the
sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your
system. If you are not the intended recipient you are notified that using, disclosing, copying or
distributing the contents of this information is strictly prohibited.
************DISCLAIMER*************

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-info

(Continue reading)


Gmane