|
From: Ethan M. <merritt@u.washington.edu> - 2006-08-28 23:41:30
|
On Monday 28 August 2006 04:07 pm, Dhiman Barman wrote: > I solved the problem other day by using .png format > You can have a look at http://www.caida.org/~dhiman/c3.png > > But then I had to use some unknown font as I could not use fonts > that enhanced postscript was using. I do not understand this. Any font that postscript could use, the png terminal could also use. Unless you mean that you chose a PostScript font that was present in the hardware of your printer but not installed on your computer? -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle WA |
|
From: Dhiman B. <dh...@ca...> - 2006-09-05 23:49:03
|
Hi, I realize that more than 8 patterns can not be discerned by human eye at the same time. But, how difficult it would be to have patterns which are combinations of bar and points (start, square etc) ? Thanks, Dhiman |
|
From: Dhiman B. <dh...@ca...> - 2006-08-28 23:49:50
|
sorry, eps terminal (not postscript) does not have many colors as png has. all these are so confusing...it was evident from the fact that I was not able to rotate xlabels by -45. you suggested to use png and not eps enhanced. On Mon, Aug 28, 2006 at 04:41:23PM -0700, Ethan Merritt wrote: > On Monday 28 August 2006 04:07 pm, Dhiman Barman wrote: > > I solved the problem other day by using .png format > > You can have a look at http://www.caida.org/~dhiman/c3.png > > > > But then I had to use some unknown font as I could not use fonts > > that enhanced postscript was using. > > I do not understand this. Any font that postscript could use, > the png terminal could also use. Unless you mean that you chose > a PostScript font that was present in the hardware of your printer > but not installed on your computer? > > > -- > Ethan A Merritt > Biomolecular Structure Center > University of Washington, Seattle WA |
|
From: Dhiman B. <dh...@ca...> - 2006-08-31 00:19:58
|
Hi, Is there any option of taking input from command line options while running gnuplot file.gnu ? Or can we embed scripts in gnuplot files. Thanks, Dhiman |
|
From: Ethan M. <merritt@u.washington.edu> - 2006-08-31 00:27:02
|
On Wednesday 30 August 2006 05:19 pm, Dhiman Barman wrote: > Is there any option of taking input from command > line options while running gnuplot file.gnu? No. > Or can we embed scripts in gnuplot files. I don't understand what you mean. Usually it is the other way around - you embed the gnuplot calls in your script. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle WA |
|
From: Dhiman B. <dh...@ca...> - 2006-08-31 18:09:58
|
hi, mean, it will be useful to have support for loops, variable assignment in gnuplot files. if I have to plot 100 files where only the output filename and input file name change, it will be useful to have loop support...but that also means having compiler/interpreter support. dhiman On Wed, Aug 30, 2006 at 05:26:55PM -0700, Ethan Merritt wrote: > On Wednesday 30 August 2006 05:19 pm, Dhiman Barman wrote: > > Is there any option of taking input from command > > line options while running gnuplot file.gnu? > > No. > > > Or can we embed scripts in gnuplot files. > > I don't understand what you mean. > Usually it is the other way around - you embed the > gnuplot calls in your script. > > > -- > Ethan A Merritt > Biomolecular Structure Center > University of Washington, Seattle WA |
|
From: Ethan M. <merritt@u.washington.edu> - 2006-08-31 18:26:43
|
On Thursday 31 August 2006 11:09 am, Dhiman Barman wrote: > hi, > mean, it will be useful to have support for loops, variable > assignment in gnuplot files. > > if I have to plot 100 files where only the output filename > and input file name change, it will be useful to have loop > support...but that also means having compiler/interpreter > support. So embed the call to gnuplot in a perl/awk/shell script. Loop 100 times, changing the file names via an environmental variable or symlink or in the actual command that is sent to gnuplot. Actually you _can_ do this in gnuplot already, using string variables and a reread loop. But it is awkward compared to a real scripting language. EAM > > dhiman > > On Wed, Aug 30, 2006 at 05:26:55PM -0700, Ethan Merritt wrote: > > On Wednesday 30 August 2006 05:19 pm, Dhiman Barman wrote: > > > Is there any option of taking input from command > > > line options while running gnuplot file.gnu? > > > > No. > > > > > Or can we embed scripts in gnuplot files. > > > > I don't understand what you mean. > > Usually it is the other way around - you embed the > > gnuplot calls in your script. > > > > > > -- > > Ethan A Merritt > > Biomolecular Structure Center > > University of Washington, Seattle WA -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle WA |
|
From: Dave D. <dde...@es...> - 2006-08-31 19:50:28
|
Dhiman Barman <dh...@ca...> writes:
> hi,
> mean, it will be useful to have support for loops, variable
> assignment in gnuplot files.
>
> if I have to plot 100 files where only the output filename
> and input file name change, it will be useful to have loop
> support...but that also means having compiler/interpreter
> support.
>
>> On Wednesday 30 August 2006 05:19 pm, Dhiman Barman wrote:
>> > Is there any option of taking input from command
>> > line options while running gnuplot file.gnu?
>>
There is a trick I once came up with, but for which I've never really
found a good use for. Maybe this is it...
Assuming unix :
$ gnuplot 3< /tmp/somefile
runs gnuplot with file 3 reading from /tmp/somefile
Then inside your script, you can shell-out to read lines from that file
descriptor.
$ cat /tmp/somefile
hello
world
$ gnuplot 3< /tmp/somefile
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.8-2-686-smp
...
gnuplot> print "`head -1 <&3`"
hello
gnuplot> print "`read x <&3 ; echo X $x Y`"
X world Y
You just need to be careful that a shell-ed out process doesn't read
more from the file than you wanted it to.
dd
--
Dave Denholm <dde...@es...> http://www.esmertec.com
|