|
From: Stefan U. <st...@ag...> - 2006-06-28 11:47:20
|
Citát Gavin Buxton <gav...@ya...>: > Hi, > > I don't think you want to use set size square. If I've > understood you correctly all you need to do is to make > sure that your plot ranges are all the same. Go > through your data and find the largest ranges in x, y > and z and set these values for all plots using set > xrange. > > Hope this helped, Thanks, that helped. However ... problem is, that i use it inside of an automated process: 1. export data from DB (something like: plot, x, y, value) 2. split data into files according to "plot" and make "isolines" (file format: x, y, value) 3. create plot files from a template: set palette set pm3d map set terminal png splot "@@FILENAME@@" 4. execute gnuplot for each plot file and generate png images If I understand it correctly, then my plot file template should look like this: set palette set pm3d map set terminal png set xrange [@@XMIN@@:@@XMAX@@] set yrange [@@YMIN@@:@@YMAX@@] splot "@@FILENAME@@" And I should replace the @@XMIN@@ ... @@YMAX@@ values according to the input data. That would mean, that export of data from DB is not sufficient and I would have to export also following table: (plot, xmin, xmax, ymin, ymax) and use that values in the template. Will this give me the result I want? Now I have to figure out, how to generate gnuplot files using the min-max table stored in a file. Replacing single filename was not a problem... Stefan > > Gavin. > > > > Hi, > > > > I am drawing several plots like this: > > > > set palette > > set pm3d map > > set size square > > set terminal png > > splot "plotXX.data" > > > > Where XX is sequence number. Output are png files. > > > > I would like to have the images of same size and to > > have the plots (map area) > > same size as well, with exact position inside the > > image? In other words, I > > would like to put the images into a sequence and > > create kind of animation. For > > that I need the map to of the same size and on the > > same position in each > > "animation frame". > > > > Thanks for any hints, > > > > Stefan Urbanek > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > Stefan Urbanek -- http://stefan.agentfarms.net First they ignore you, then they laugh at you, then they fight you, then you win. - Mahatma Gandhi |