|
From: Ryan N. <rne...@gm...> - 2015-02-12 16:09:59
|
John, As Ben said, the QGIS Windows installer comes with its own Python installation, which doesn't know anything about any other Python install. Unfortunately, this apparently makes it rather difficult to install other packages. However, QGIS Python already contains Numpy and Matplotlib and PyQt4, which is what you need here. From the Plugins dropdown menu, select Python Console. In the console that opens at the bottom of the screen, you should be able to type (don't type the > characters): >>> import matplotlib.pyplot as plt >>> plt.plot([1,2,3]) >>> plt.show() On my install of QGIS, that opens a pop-up window with a plot of those data points. Does this throw an error for you too? Ryan On Thu, Feb 12, 2015 at 10:35 AM, john polo <jp...@ma...> wrote: > Users, > I am working on Windows 7 with QGIS 2.4. I am trying to get a plugin > installed in QGIS called Semi-Automatic Classification Plugin to work. > The plugin is demonstrated here: > > http://fromgistors.blogspot.com/2013/07/working-with-multispectral-bands-in-qgis.html > > The first time I tried to install the QGIS plugin, I got an error > message that backend_qt4agg was not installed. I installed Python(x,y) > with Python 2.x, because it seemed like the easiest way to get > matplotlib and a bunch of other apps/extensions installed at the same > time with minimal effort. I am not a programmer and I'm not familiar > with installing things from source and then configuring settings. After > the Python(x,y) install, I went to QGIS and started again and tried to > install the plugin. I got the same error message. Please tell me what I > need to do to get this backend installed in order to get the QGIS plugin > I want. > > John Polo > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |