LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-18-2016, 02:42 PM   #1
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Rep: Reputation: Disabled
Maxima 5.23-Gnuplot-Linux


My environment is Ubuntu 14.04. I am pretty much at ease with Gnuplot but now I need to figure out how to draw Greek letters and the sign of Integral and a sign of summation. This website says it is possible with Maxima 5.23 plus Gnuplot. Does anybody know anything about it? Please share the experience. Thanks.
 
Old 05-14-2016, 07:26 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Quote:
Originally Posted by AlexBB View Post
I need to figure out how to draw Greek letters and the sign of Integral and a sign of summation.
You don't need to use maxima necessarily, the example you reference is making use of the 'enhanced' mode of the gnuplot output terminal, which uses postscript codes.

For example, the following has a Greek title (tested on version 4.6). Note that some output terminal types may not have an enhanced mode.
Code:
gnuplot
  set term x11 enhanced
  plot sin(x) title "{/Symbol aqhna}"
If you do particularly want to use maxima, you may need to pass this option through explicitly (at least in the version 5.34 I tested).
Code:
maxima
  plot2d(sin(x), [x,-10,10], [title,"{/Symbol aqhna}"], [gnuplot_preamble,"set term x11 enhanced"])$
You can of course output to a postscript file directly. The following creates an eps file.
Code:
echo 'plot2d(sin(x), [x,-10,10], [title,"{/Symbol aqhna}"], [gnuplot_preamble,"set term eps enhanced"], [gnuplot_term, eps])$' | maxima
These postscript codes aren't the ideal way to format, but it might do you for simple integrals and summations:
Code:
{/Symbol \\362}@_{0}^{/Symbol \\245}
{/Symbol \\345}@_{0}^{n}
For anything more complicated, you might want to look at using latex output from gnuplot.

Last edited by neonsignal; 05-14-2016 at 07:34 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] making a gnuplot 3d graph or gnuplot fence plot Rinndalir Programming 3 10-23-2015 01:10 PM
[SOLVED] gnuplot basic graph problem - noob to gnuplot sudowtf Linux - General 2 04-02-2015 11:00 AM
Maxima question schachwizard Linux - Software 4 07-11-2011 09:41 PM
maxima%#question ukyo Linux - Software 2 12-18-2004 05:53 AM
Maxima and lisp fettouhi Fedora 0 05-21-2004 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration