|
From: Hans-Bernhard B. <HBB...@t-...> - 2016-07-29 19:23:49
|
Am 29.07.2016 um 09:12 schrieb Robert von Knobloch: > I _think_ that I _do_ want multiplot. Then gnuplot cannot figure out the shared axis range all by itself, like you said you wanted. It's a case of either having the cake, or eating it. The individual plots in a multiplot are done independently, so there's just no way for the x data range of later plots to have any influence on the x axis range of earlier ones, because by the time the second plot is made, the first one is completely done. No going back to make its x axis range match the latter ones. > I want the temperature plot to be framed in its own axes, just on the > same page (screen), with the same x-axis (date/time) as the other data. > My screen has then 3 (or more with each having different Y units) plots > with their own y axes, but with the same x scale and labels, one above > the other, so that it is easy to see correlations. In that case you'll have to decide on an x axis range beforehand, tell gnuplot about your choice, fix the left and right margins, and then you can use set multiplot layout 3, 1 But for plots with at most two incommensurable types of y data, a single, multi-dataset plot with a secondary y axis will make better use of the available plotting surface, and allow for a much clearer view of correlations, and it'll be a whole lot easier to create. |