|
From: Martin B. <m.b...@st...> - 2010-05-26 08:17:08
|
Hello, thanks for your help. "xrdb /usr/local/share/gnuplot/4.4/app-defaults/Gnuplot" did the job for me! Martin On Mi, 2010-05-26 at 09:26 +0900, Tatsuro MATSUOKA wrote: > Hello > > Yesterday I have used gnuplot 4.5(cvs) x11 on the cygwin. > I have tried again gnuplot 4.4.0 on the cygwin. > > > $ /bin/gnuplot > > G N U P L O T > Version 4.4 patchlevel 0 > last modified March 2010 > System: CYGWIN_NT-5.1 1.7.5(0.225/5/3) > > Copyright (C) 1986-1993, 1998, 2004, 2007-2010 > Thomas Williams, Colin Kelley and many others > > gnuplot home: http://www.gnuplot.info > faq, bugs, etc: type "help seeking-assistance" > immediate help: type "help" > plot window: hit 'h' > > Terminal type set to 'x11' > gnuplot> set term x11 dashed > Terminal type set to 'x11' > Options are ' nopersist dashed' > gnuplot> test > > The snapshot is > > http://www.geocities.jp/tmgpltwin/Files/Files.html#0041 > 0041 X11DasedTest.png, 16,022 bytes, 2010-05-26, 'test' snapshot of x11 dashed of gnuplot 4.4.0 for > cygwin > > Perhaps your x11 resource file 'Gnuplot' is not placed to the correct directory. > > http://old.nabble.com/dashes-again-td27616041.html#a27628636 > > The correct directory depends on the system. > In the 'INSTALL' in gnuplot-4.4.0 source. > > File location defaults > ---------------------- > > PREFIX /usr/local > gnuplot PREFIX/bin > gnuplot_x11 PREFIX/libexec/gnuplot/$VERSION > gnuplot.1 PREFIX/man/man1 > gnuplot.gih PREFIX/share/gnuplot/$VERSION > > Gnuplot PREFIX/share/gnuplot/$VERSION/app-defaults > (please copy to system app-defaults location) > > ****************************************************************************** > Gnuplot PREFIX/share/gnuplot/$VERSION/app-defaults > (please copy to system app-defaults location) > ******************************************************************************* > > Regards > > Tatsuro > > --- Martin Becker wrote: > > > here is the screenshot, it looks like the list does not support > > attachments ... > > Does it look the same with your gnuplot? > > > > Thanks, > > Martin > > > > > > On Di, 2010-05-25 at 14:13 +0200, Martin Becker wrote: > > > Hello, > > > > > > thanks for your help! In eps terminal, this is working. > > > > > > Unfortunately, my x11 dashed terminal does not seem to have dashed lines > > > (I am using version 4.4 patchlevel 0). > > > I attached a screenshot of the test command's result. > > > What else could be wrong? Or: which Gnuplot version has a working x11 > > > dashed terminal? Any ideas? > > > > > > Thanks for your help, > > > > > > Martin > > > > > > > > > this is what I did: > > > > > > /usr/local/bin$ ./gnuplot > > > > > > G N U P L O T > > > Version 4.4 patchlevel 0 > > > last modified March 2010 > > > System: Linux 2.6.31-21-generic > > > > > > Copyright (C) 1986-1993, 1998, 2004, 2007-2010 > > > Thomas Williams, Colin Kelley and many others > > > > > > gnuplot home: http://www.gnuplot.info > > > faq, bugs, etc: type "help seeking-assistance" > > > immediate help: type "help" > > > plot window: hit 'h' > > > > > > Terminal type set to 'x11' > > > gnuplot> set term x11 dashed > > > Terminal type set to 'x11' > > > Options are ' nopersist dashed' > > > gnuplot> test > > > > > > > > > > > > > > > > > > > > > On Di, 2010-05-25 at 20:06 +0900, Tatsuro MATSUOKA wrote: > > > > Hello > > > > > > > > lt palette cb 10 # lt palette ???? > > > > --> > > > > lc palette # This is right > > > > > > > > lc palette cb 10 lt 1 > > > > lc palette cb 5 lt 2 > > > > lc palette cb 0 lt 3 > > > > > > > > set term x11 dashed > > > > set palette rgbformulae 22,13,-31 > > > > plot sin(x) lc palette cb 10 lt 1 > > > > replot sin(x+0.1*pi) lc palette cb 5 lt 2 > > > > replot sin(x+0.2*pi) lc palette cb 0 lt 3 > > > > > > > > > > > > To see the linetype, type 'test' at the gnuplot prompt > > > > > > > > Regards > > > > > > > > Tatsuro > > > > --- Martin Becker wrote: > > > > > > > > > Hello, > > > > > > > > > > I am plotting multiple lines. > > > > > The color of the lines is based on a palette. This is working fine. > > > > > In addition, I would like to set the line style to be dashed or solid. > > > > > In the past, I managed to plot dashed lines using postscript terminals > > > > > (with different linetype) and without a palette. > > > > > Now I need to have the dashed lines on the screen and the color of the > > > > > lines should come from the palette. > > > > > > > > > > So this is what I do: > > > > > --- > > > > > set term x11 dashed > > > > > set palette rgbformulae 22,13,-31 > > > > > set cbrange [ 0 : 100 ] noreverse nowriteback > > > > > plot "./pressure_10.txt" w l lt palette cb 10, "./pressure_20.txt" w l > > > > > lt palette cb 20 > > > > > --- > > > > > > > > > > Is it opossible to plot some of the lines dashed? How? > > > > > Currently I'm using Gnuplot 4.4.0. > > > > > > > > > > Thanks for your help! > > > > > > > > > > Martin > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > > > _______________________________________________ > > > > > gnuplot-info mailing list > > > > > gnu...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > > > > > > > > > > > > > > > -------------------------------------- > > > > 2010 FIFA World Cup News [Yahoo!Sports/sportsnavi] > > > > http://pr.mail.yahoo.co.jp/southafrica2010/ > > > > > > > > -+- > > > > Virus checked by http://www.cosus.de (scanned by msw-cluster.cosus.de) > > > > > > > > > -------------------------------------- > 2010 FIFA World Cup News [Yahoo!Sports/sportsnavi] > http://pr.mail.yahoo.co.jp/southafrica2010/ |