|
From: Pau <vim...@go...> - 2012-03-06 23:10:20
|
PS: Sorry .... $1 is the argument to pass, namely the data you will find on that page On 7 March 2012 00:09, Pau <vim...@go...> wrote: > thanks again for the quick answer.... > > I made sure it's within the plotting limits but somehow it does not show up > > You can try my data, if you wish > > http://www.2shared.com/file/TUplOI5P/GasDensityDisc_80.html > > The script I was using with gnuplot is > > ============ > set terminal epslatex color > set output "output.tex" > set size square > set xlabel textcolor rgb "white" "R" > set ylabel textcolor rgb "white" "R" > set mxtics 5 > set mytics 5 > set tics out > set palette defined ( 0 "black", 1 "black", 2 "blue", 3 "blue", 4 > "orange", 5 "red", 6 "yellow" ) > set pm3d map > #set autoscale fix > set xrange [-30:30] > set yrange [-30:30] > set cblabel "${\\rm log}_{10} \\, \\left( \\rho_{\\rm gas} \\right)$" > set object 1 rectangle front from -30,-30 to 30,30 fc rgb "black" behind > set label textcolor rgb "white" "HOLA" at -10,-10 > splot "'$1'" binary record=384x128 format="%double" u > ($2*sin($1)):($2*cos($1)):(log10($3)) notitle > set terminal x11 > ============ > > thanks again! > > On 6 March 2012 23:48, Jefferson Stafusa E. Portela <st...@gm...> wrote: >> I don't have your data to test your specific example, but that works normally: >> >> set object 1 rectangle front from -30,-30 to 30,30 fc rgb "black" behind >> set label textcolor rgb "white" "HOLA" at -5,-0.5 >> plot sin(x) linecolor rgb "white" >> >> You're sure the point -20,-25 is in your plot? If you put the label >> outside the plot it'll be invisible, of course. If that's not the >> problem, I can't think now of anything else. >> >> []s >> Stafusa |