|
From: <fr....@fr...> - 2010-07-10 12:41:13
|
Hi,
I am working since 20 years with Gnuplot - Thank's
So, this is a demo file given troubles with the emf file created with gnuplot
4.4 on MS-window. I hope that it can give a help to resolve the case - thank's
for your beautiful work
(data used as txt file in given in the script - it needs only few data)
François Beaujard - Clermont-Ferrand - France
# Cannot dissociate the EMF with PowerPoint - July 2010
# graph produced with wgnuplot
# Version 4.4 patchlevel 0
# last modified March 2010
# System: MS-Windows 32 bit
#
_________________________________________________________________________________
# create data file, run and try to dissociate on window
# #Data used in Data.txt
# 1 1
# 2 30
# 3 -2
# eof
#
_________________________________________________________________________________
#
reset
clear
set terminal window
set lmargin .05
set bmargin .05
set tmargin .05
set rmargin .05
set xtics autofreq
set ytics autofreq
set xtics nomirror
set ytics nomirror
set mytics 5
unset x2tics
unset y2tics
set x2label offset -1,-0.5 font "Time New Roman Bold Italic , 11"
set xtics offset -0.25,-1.750 font "Time New Roman Bold, 15" rotate by 90
set ylabel offset 3,1.5 font "Time New Roman Bold, 14"
set ytics offset 0,0 font "Time New Roman Bold, 10"
set border 1 + 2 linewidth 2
set key bottom right samplen 0
set xrange [ 0 : 5.0 ]
set yrange [ - 50 : 50.0 ]
set dummy t
zero(t) = 0
set terminal emf monochrome solid enhanced size 1024,768 font "Time New Roman
Bold, 14"
set output "Photo_Plot.emf"
set ylabel ""
set format y "%3.0f"
set xtics ""
set format x
set xlabel ""
set xtics autofreq
set origin 0.15,0.15
set size 0.7,0.7
set boxwidth 0.55
set title 'Cannot dissociate the EMF file with window'
plot \
zero(t) not w lines lt 2,\
'data.txt' using 1: (($2 >= 0) ? $2 : 0/1) t 'G(1,1)' w boxes fs solid 1
,\
'data.txt' using 1: (($2 < 0) ? $2 : 0/1) not w boxes fs solid
0.25
set output
set term window
replot
print " "
print " result in Photo_Plot.emf "
# eof
|
|
From: sfeam (E. Merritt) <eam...@gm...> - 2010-07-11 15:48:26
|
On Saturday 10 July 2010, fr....@fr... wrote: > > Hi, > I am working since 20 years with Gnuplot - Thank's > > So, this is a demo file given troubles with the emf file created with gnuplot > 4.4 on MS-window. I hope that it can give a help to resolve the case - thank's > for your beautiful work > (data used as txt file in given in the script - it needs only few data) So far as I can see, the EMF produced by your test script displays properly both when viewed in EMFVIEW and when imported into PowerPoint. But perhaps I simply did not notice a difference between what you intended and what was produced. Could you please explain what is wrong with the plot when you view it on your machine? Ethan > François Beaujard - Clermont-Ferrand - France > > # Cannot dissociate the EMF with PowerPoint - July 2010 > # graph produced with wgnuplot > # Version 4.4 patchlevel 0 > # last modified March 2010 > # System: MS-Windows 32 bit > > # > _________________________________________________________________________________ > # create data file, run and try to dissociate on window > > # #Data used in Data.txt > # 1 1 > # 2 30 > # 3 -2 > # eof > # > _________________________________________________________________________________ > # > reset > clear > set terminal window > set lmargin .05 > set bmargin .05 > set tmargin .05 > set rmargin .05 > > set xtics autofreq > set ytics autofreq > set xtics nomirror > set ytics nomirror > set mytics 5 > > unset x2tics > unset y2tics > > set x2label offset -1,-0.5 font "Time New Roman Bold Italic , 11" > set xtics offset -0.25,-1.750 font "Time New Roman Bold, 15" rotate by 90 > set ylabel offset 3,1.5 font "Time New Roman Bold, 14" > set ytics offset 0,0 font "Time New Roman Bold, 10" > > set border 1 + 2 linewidth 2 > set key bottom right samplen 0 > set xrange [ 0 : 5.0 ] > set yrange [ - 50 : 50.0 ] > set dummy t > zero(t) = 0 > > set terminal emf monochrome solid enhanced size 1024,768 font "Time New Roman > Bold, 14" > set output "Photo_Plot.emf" > > set ylabel "" > set format y "%3.0f" > set xtics "" > set format x > set xlabel "" > set xtics autofreq > set origin 0.15,0.15 > set size 0.7,0.7 > set boxwidth 0.55 > > set title 'Cannot dissociate the EMF file with window' > > plot \ > zero(t) not w lines lt 2,\ > 'data.txt' using 1: (($2 >= 0) ? $2 : 0/1) t 'G(1,1)' w boxes fs solid 1 > ,\ > 'data.txt' using 1: (($2 < 0) ? $2 : 0/1) not w boxes fs solid > 0.25 > > set output > set term window > > replot > print " " > print " result in Photo_Plot.emf " > # eof > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |
|
From: Allin C. <cot...@wf...> - 2010-07-12 01:00:07
|
On Sat, 10 Jul 2010 fr....@fr... wrote: > set x2label offset -1,-0.5 font "Time New Roman Bold Italic , 11" I don't know if this is relevant to the problem you're having, but notice that your gnuplot input file contains a consistent misspelling of "Times New Roman" as "Time New Roman". Allin Cottrell |