Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Gnuplot interactive function plotter > drawing rectang...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 3345 of 3630
Post > Topic >>

drawing rectangles

by Bart Vandewoestyne <MyFirstName.MyLastName@[EMAIL PROTECTED] > Jun 5, 2008 at 01:52 PM

I'm trying to reproduce the following plot (plotted by a collegue
of mine using Python):

http://www.cs.kuleuven.be/~bartv/stuff/gnuplot/star_discrepancy.pdf

I'm already quite successfull with the following script:

set terminal postscript eps enhanced color size 5cm,5cm
set loadpath "../data"
set style data points
set xrange [0:1]
set yrange [0:1]
set xtics 0.2
set ytics 0.2
set size square
set pointsize 0.5

set out "star_discrepancy.eps"
set title "Star Discrepancy"
set object 1 rectangle from 0,0 to 0.75,0.33 back fc rgb "yellow" lw 0.5
set object 2 rectangle from 0,0 to 0.125,0.75 back fc rgb "yellow" lw 0.5
plot "pseudorandom_1024p_2d.dat" u 1:2 every ::0::215 title "" w p pt 7 lc
rgbcolor "red"

The result is at

http://www.cs.kuleuven.be/~bartv/stuff/gnuplot/star_discrepancy2.pdf

some problems remain:

1) One rectangle covers the other, so the borderline of the second one is
not
visible if they overlap.  I do want to see the border lines, even if
rectangles
overlap...

2) Can i change the line type and line color of the border of the
rectangles?

Thanks,
Bart

-- 
	"Share what you know.  Learn what you don't."
 




 5 Posts in Topic:
drawing rectangles
Bart Vandewoestyne <My  2008-06-05 13:52:14 
Re: drawing rectangles
Karl Heinz Schloeglmann &  2008-06-05 16:07:24 
Re: drawing rectangles
merritt@[EMAIL PROTECTED]  2008-06-05 08:11:28 
Re: drawing rectangles
Bart Vandewoestyne <My  2008-06-05 15:35:29 
Re: drawing rectangles
merritt@[EMAIL PROTECTED]  2008-06-05 09:07:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 20:15:07 CST 2008.