Do you mean a black and white color palette or just change the color of something?
If you want to change the color of something, you can write plcol0() before the point, line, environment or whatever you want to draw. The argument of the function plcol0() is an integer, which refers to the color (c.f. http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.9/plcol0.html to see them all).
thank you. I am beginner in plplot and will study all links that you proposed to see. I used GNUplot very long time before my first steps in plplot, but it works very slow with big arrays. Some scientific web-pages with my GNUplot png files are here : http://seismo.kiev.ua/SunSpots/sunspots.html
Best wishes,
Sergej.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You're welcome, Sergej! :)
I'm glad to help someone, since I am a beginner too.
Actually I use PGplot which is similar to PLplot, but PLplot is more powerful. I like GNUplot too, but I think it's not very recommended to plot real-time simulation (is it?), as I do with PGplot (or PLplot), but it's really powerful too. And the main why I decided to use PGplot instead of PLplot is because the latter flicks a lot on my screen, while PGplot has a function about double buffering, and with PLplot I don't know how to do that very well. :)
Regards,
César.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all! How we can use black and white colours in plplot but not all 16? And not red on black as in examples?
Hi,
Do you mean a black and white color palette or just change the color of something?
If you want to change the color of something, you can write plcol0() before the point, line, environment or whatever you want to draw. The argument of the function plcol0() is an integer, which refers to the color (c.f. http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.9/plcol0.html to see them all).
If you want to change the palette of colors, I think you can use the function plscmap0(), but I'm not sure, since I've never used that. For more information about this function, see http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.9/plscmap0.html.
Regards,
César.
Dear César.,
thank you. I am beginner in plplot and will study all links that you proposed to see. I used GNUplot very long time before my first steps in plplot, but it works very slow with big arrays. Some scientific web-pages with my GNUplot png files are here : http://seismo.kiev.ua/SunSpots/sunspots.html
Best wishes,
Sergej.
You're welcome, Sergej! :)
I'm glad to help someone, since I am a beginner too.
Actually I use PGplot which is similar to PLplot, but PLplot is more powerful. I like GNUplot too, but I think it's not very recommended to plot real-time simulation (is it?), as I do with PGplot (or PLplot), but it's really powerful too. And the main why I decided to use PGplot instead of PLplot is because the latter flicks a lot on my screen, while PGplot has a function about double buffering, and with PLplot I don't know how to do that very well. :)
Regards,
César.