Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2738 > unrolled thread
| Started by | Michael Okuntsov <proximum@land.ru> |
|---|---|
| First post | 2015-02-04 17:21 +0600 |
| Last post | 2015-02-05 10:48 +0600 |
| Articles | 4 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Problem with squares Michael Okuntsov <proximum@land.ru> - 2015-02-04 17:21 +0600
Re: Problem with squares Michael Okuntsov <proximum@land.ru> - 2015-02-04 17:46 +0600
Re: Problem with squares Karl <mail.kfr@gmx.net> - 2015-02-04 14:56 +0100
Re: Problem with squares Michael Okuntsov <proximum@land.ru> - 2015-02-05 10:48 +0600
| From | Michael Okuntsov <proximum@land.ru> |
|---|---|
| Date | 2015-02-04 17:21 +0600 |
| Subject | Problem with squares |
| Message-ID | <masvb1$3nh$1@dont-email.me> |
Hello,
set term post eps font ",10"
set output "data_boxes.eps"
set size ratio 0.9
unset key;unset border;unset tics
do for [i=1:4] {
do for [j=1:4] {
set object j+(i-1)*4 rect from (i-1)*22.33, (j-1)*20.5 rto 20., 19.5 fs
empty border rgb "black" lw 3 front
}
}
# plot "data.txt" u
($1/10.+1.0+$4*2.5):($2/10.+1.0+$5*2.0):(gprintf("%5.3f",$3)) w labels
plot sin(x)
The squares are not the same size. Why?
[toc] | [next] | [standalone]
| From | Michael Okuntsov <proximum@land.ru> |
|---|---|
| Date | 2015-02-04 17:46 +0600 |
| Message-ID | <mat0om$9a3$1@dont-email.me> |
| In reply to | #2738 |
04.02.2015 17:21, Michael Okuntsov пишет:
> Hello,
>
> set term post eps font ",10"
> set output "data_boxes.eps"
> set size ratio 0.9
> unset key;unset border;unset tics
> do for [i=1:4] {
> do for [j=1:4] {
> set object j+(i-1)*4 rect from (i-1)*22.33, (j-1)*20.5 rto 20., 19.5 fs
> empty border rgb "black" lw 3 front
> }
> }
> # plot "data.txt" u
> ($1/10.+1.0+$4*2.5):($2/10.+1.0+$5*2.0):(gprintf("%5.3f",$3)) w labels
> plot sin(x)
>
> The squares are not the same size. Why?
Btw, with enabled border and tics it is plotting fine.
[toc] | [prev] | [next] | [standalone]
| From | Karl <mail.kfr@gmx.net> |
|---|---|
| Date | 2015-02-04 14:56 +0100 |
| Message-ID | <mat8f1$v9d$1@news.rz.uni-karlsruhe.de> |
| In reply to | #2739 |
Am 04.02.2015 um 12:46 schrieb Michael Okuntsov:
> 04.02.2015 17:21, Michael Okuntsov пишет:
>> Hello,
>>
>> set term post eps font ",10"
>> set output "data_boxes.eps"
>> set size ratio 0.9
>> unset key;unset border;unset tics
>> do for [i=1:4] {
>> do for [j=1:4] {
>> set object j+(i-1)*4 rect from (i-1)*22.33, (j-1)*20.5 rto 20., 19.5 fs
>> empty border rgb "black" lw 3 front
>> }
>> }
>> # plot "data.txt" u
>> ($1/10.+1.0+$4*2.5):($2/10.+1.0+$5*2.0):(gprintf("%5.3f",$3)) w labels
>> plot sin(x)
>>
>> The squares are not the same size. Why?
>
> Btw, with enabled border and tics it is plotting fine.
The clipping of the objects prints a line at the border, here at the
(invisible) axes.
Try "set object n rect noclip", and/or change the axis ranges.
Karl
[toc] | [prev] | [next] | [standalone]
| From | Michael Okuntsov <proximum@land.ru> |
|---|---|
| Date | 2015-02-05 10:48 +0600 |
| Message-ID | <mausla$c05$1@dont-email.me> |
| In reply to | #2740 |
> The clipping of the objects prints a line at the border, here at the > (invisible) axes. > > Try "set object n rect noclip", and/or change the axis ranges. > > Karl > Thank you
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web