|
From: Luiz F. C C. <lf...@gm...> - 2006-04-09 22:08:53
|
Hans-Bernhard Bröker wrote:
> Change the order of plotting. Make all plots parametric, and do
> the 'filledcurves" ones *first*. gnuplot draws all the functions
> and datasets you hand it in the given order, so what you draw
> later will overprint what was drawn earlier.
OK, problem is solved, thank you very much. Now please, take a look
at this modified code:
set xrange [-5:7]
set yrange [-2:3]
unset key
set parametric
set trange [-1:2]
set label "R" at -1, 1.5 front
set style line 1 lt -1 lw 1.5
plot -t**2, t lt 5 with filledcu y2, t+4, t lt -2 with filledcu y2, \
-((5*t-1)/3)**2, (5*t-1)/3 ls 1 with lines, \
(5*t-1)/3+4, (5*t-1)/3 ls 1 with lines, \
4*t-1, 2 ls 1 with lines, 4*t-1,-1 ls 1 with lines
set zeroaxis
I had to append the option 'front' to the 'set label' command for,
otherwise, the label would be underneath the colored region and
wouldn't be visible. Now, I don't have a similar option for the 'set
zeroaxis' command. Only part of the xzeroaxis and of the yzeroaxis
are visible, what can I do in this case?
Thank you very much.
Luiz Fernando
|