On Thu, 7 Dec 2017, Artur Tarassow wrote:

> Dear Allin,
>
> thanks again for your examples. These are nice illustrations and I 
> wasn't aware of some of the capabilities of gnuplot.
>
> In order to handle different time frequencies more flexible, I 
> thought it could of an advantage to exploit the $obsdate series 
> which actually contains all necessary information. In the attached 
> example, I transform the int values of $obsdate into an array of 
> strings and use these string values (separating year, month, day) 
> as xtics in a flexible manner. This also allows the user to define 
> different options on how to present dates, as you will see below.

Yes, that's nice, I agree.

> Btw, there is a weird thing for large matrices with my obs. as 
> used below. In order to generate a proper graph one needs to 
> write:
>
> <hansl>
> printf "set style fill solid border -2\n"
> # "border -1" doesn't work for long data!
> </hansl>

Not really so weird. The number that (can) follow "border" in this 
context is a line-type. Line type -1 is a solid black line. So with 
"border -1" and the daily djclose data you're requesting that each 
of the 2528 boxes is bordered by a black line. That produces a 
totally dense black mass with no pixels left to show any colors.

Line type -2 doesn't exist, so (by courtesy, it seems) if you say 
"border -2" that's equivalent to saying "noborder", in which case 
the selected colors for the boxes are visible.

Allin

Reply via email to