<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1898</id>
	<title>Nabble - Octave - Graphics</title>
	<updated>2009-08-11T03:37:32Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Octave---Graphics-f1898.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Octave---Graphics-f1898.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-24915192</id>
	<title>Set title to left corner doesnt work</title>
	<published>2009-08-11T03:37:32Z</published>
	<updated>2009-08-11T03:37:32Z</updated>
	<author>
		<name>bat_boy</name>
	</author>
	<content type="html">Hi folks!
&lt;br&gt;&lt;br&gt;I'd like to set the horizontal postition of the title in my plot to the left corner.
&lt;br&gt;When I plot and do this:
&lt;br&gt;&lt;br&gt;title(&amp;quot;This is my awesome title&amp;quot;);
&lt;br&gt;yl = get (gca (), 'title');
&lt;br&gt;get(get(gca()).title).horizontalalignment
&lt;br&gt;set (yl, 'horizontalalignment', 'center');
&lt;br&gt;get(get(gca()).title).horizontalalignment
&lt;br&gt;set (yl, 'horizontalalignment', 'left');
&lt;br&gt;get(get(gca()).title).horizontalalignment
&lt;br&gt;&lt;br&gt;the output is 
&lt;br&gt;&lt;br&gt;ans = left
&lt;br&gt;ans = center
&lt;br&gt;ans = left
&lt;br&gt;&lt;br&gt;So it seems that the value is set to &amp;quot;left&amp;quot; as default. Even setting it to &amp;quot;center&amp;quot; and to &amp;quot;left&amp;quot; afterwards doesnt have any effetct, the title remains in the center. Do I miss something here?
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;David</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Set-title-to-left-corner-doesnt-work-tp24915192p24915192.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24823790</id>
	<title>unique top title on multiple plot graphs</title>
	<published>2009-08-05T02:43:44Z</published>
	<updated>2009-08-05T02:43:44Z</updated>
	<author>
		<name>stefanolo137</name>
	</author>
	<content type="html">Hi everybody,
&lt;br&gt;I can't find the way to set a unique title on graphics composed of multiple plots.
&lt;br&gt;To be more precise when I set the plot figure as:
&lt;br&gt;&lt;br&gt;subplot(2,1,1)
&lt;br&gt;plot(x1,y1)
&lt;br&gt;subplot(2,2,2)
&lt;br&gt;plot(x2,y2)
&lt;br&gt;&lt;br&gt;I am not able to set a unique title at the top of the figure, describing both the plots.
&lt;br&gt;I found the function &amp;quot;top_title.m&amp;quot; which seems to make this job but it is not compatible with octave 3.0.0, the version I'm using.
&lt;br&gt;&lt;br&gt;Thanks everybody,
&lt;br&gt;cheers</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/unique-top-title-on-multiple-plot-graphs-tp24823790p24823790.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23589161</id>
	<title>Controlling quality of 3d plot</title>
	<published>2009-05-17T16:54:57Z</published>
	<updated>2009-05-17T16:54:57Z</updated>
	<author>
		<name>oz123</name>
	</author>
	<content type="html">Hi, 
&lt;br&gt;I was wondering how I can get a better quality images with octave. 
&lt;br&gt;Here is an example of image produce with matlab
&lt;br&gt;&lt;img src=&quot;http://old.nabble.com/file/p23589161/Screenshot-Matlab.png&quot; border=&quot;0&quot; /&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/file/p23589161/Screenshot-Matlab.png&quot; target=&quot;_top&quot;&gt;Screenshot-Matlab.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;And the same code produced a terrible picture with octave:
&lt;br&gt;&lt;img src=&quot;http://old.nabble.com/file/p23589161/Screenshot-Octave.png&quot; border=&quot;0&quot; /&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/file/p23589161/Screenshot-Octave.png&quot; target=&quot;_top&quot;&gt;Screenshot-Octave.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;I would like to change the sampling rate of the slices, and also be able to control the fonts displaying. 
&lt;br&gt;&lt;br&gt;I use octave 3.0.5 on debian squeeze, 
&lt;br&gt;I attached also the code to produce the above plots
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/file/p23589161/Class_12_May.m&quot; target=&quot;_top&quot;&gt;Class_12_May.m&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks in advance for any help,
&lt;br&gt;Oz.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Controlling-quality-of-3d-plot-tp23589161p23589161.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23589140</id>
	<title>Controlling quality of 3d plot</title>
	<published>2009-05-17T16:51:56Z</published>
	<updated>2009-05-17T16:51:56Z</updated>
	<author>
		<name>oz123</name>
	</author>
	<content type="html">Hi, 
&lt;br&gt;I was wondering how I can get a better quality images with octave. 
&lt;br&gt;Here is an example of image produce with matlab
&lt;br&gt;&lt;img src=&quot;http://old.nabble.com/file/p23589140/Screenshot-Figure%2B1.png&quot; border=&quot;0&quot; /&gt;&lt;br&gt;&lt;br&gt;And the same code produced a terrible picture with octave:
&lt;br&gt;&lt;img src=&quot;http://old.nabble.com/file/p23589140/Screenshot-Untitled%2BWindow.png&quot; border=&quot;0&quot; /&gt;&lt;br&gt;&lt;br&gt;I would like to change the sampling rate of the slices, and also be able to control the fonts displaying. 
&lt;br&gt;&lt;br&gt;I use octave 3.0.5 on debian, 
&lt;br&gt;I attached also the code to produce the above plots
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/file/p23589140/Class_12_May.m&quot; target=&quot;_top&quot;&gt;Class_12_May.m&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Controlling-quality-of-3d-plot-tp23589140p23589140.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23577829</id>
	<title>sorry- cross post - polar plots</title>
	<published>2009-05-16T14:17:31Z</published>
	<updated>2009-05-16T14:17:31Z</updated>
	<author>
		<name>petersk</name>
	</author>
	<content type="html">Sorry, but I posted a question about graphics in &amp;quot;General&amp;quot;. &amp;nbsp;If someone wants to look there; I'd appreciate some help.
&lt;br&gt;Kurt</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sorry--cross-post---polar-plots-tp23577829p23577829.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23258577</id>
	<title>QtOctave</title>
	<published>2009-04-27T08:14:01Z</published>
	<updated>2009-04-27T08:14:01Z</updated>
	<author>
		<name>jarry7</name>
	</author>
	<content type="html">Hi. This is my first post.
&lt;br&gt;&lt;br&gt;I have started using octave quite recently as an alternative to the rather expensive matlab.
&lt;br&gt;&lt;br&gt;So, I am trying to plot a 3-D plot and would like to change the alignment of the z-axis label (zlabel). Right now it is horzontal and I would like it to be vertical. So after much searching I found the many solutions to this using the &amp;quot;rotate by&amp;quot; part of the label function. I kept on getting errors every time I used it and actually found that just using the syntax:
&lt;br&gt;&lt;br&gt;&lt;i&gt;&lt;br&gt;&amp;nbsp;&amp;quot;set zlabel &amp;quot;Z-AXIS&amp;quot;&lt;/i&gt;&lt;br&gt;&lt;br&gt;This gives me an error as follows:
&lt;br&gt;&lt;br&gt;&lt;i&gt;parse error:
&lt;br&gt;&lt;br&gt;&amp;nbsp; syntax error
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; set zlabel &amp;quot;zlabel&amp;quot;&lt;/i&gt;&lt;br&gt;&lt;br&gt;This is where I think the general problem is. For some reason, my QtOctave and normal octave run from the terminal has a problem when I use the set function in the way shown above. If I use the function form it works fine:
&lt;br&gt;&lt;br&gt;zlabel(&amp;quot;Z-AXIS&amp;quot;,'FontSize',18);
&lt;br&gt;&lt;br&gt;Please can somebody explain what is going on here?
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/QtOctave-tp23258577p23258577.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21795763</id>
	<title>Waterfall plots in Octave/Gnuplot</title>
	<published>2009-02-02T10:48:15Z</published>
	<updated>2009-02-02T10:48:15Z</updated>
	<author>
		<name>asfarley</name>
	</author>
	<content type="html">Hi, just wondering if anyone here has created Waterfall plots in Octave/Gnulab. If so, what kind of performance did you get?
&lt;br&gt;&lt;br&gt;-What frequency spectrum did you plot?
&lt;br&gt;-How many &amp;quot;slices&amp;quot; did you plot?
&lt;br&gt;-What resolution on the frequency axis did you use?
&lt;br&gt;-How long did each plot take?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Alexander</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Waterfall-plots-in-Octave-Gnuplot-tp21795763p21795763.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21738348</id>
	<title>Maximum size for mesh()</title>
	<published>2009-01-29T15:17:30Z</published>
	<updated>2009-01-29T15:17:30Z</updated>
	<author>
		<name>asfarley</name>
	</author>
	<content type="html">Hi everyone, is there a maximum meshgrid size for the mesh() function? These commands produce the expected output:
&lt;br&gt;&lt;br&gt;x = [0:0.1:5];
&lt;br&gt;y = [0:0.1:10];
&lt;br&gt;[xx,yy] = meshgrid(x,y);
&lt;br&gt;z = sin(xx).*sin(yy);
&lt;br&gt;mesh(x,y,z);
&lt;br&gt;&lt;br&gt;But these commands either give no results, or cause octave to hang:
&lt;br&gt;&lt;br&gt;x = [0:0.1:50];
&lt;br&gt;y = [0:0.1:100];
&lt;br&gt;[xx,yy] = meshgrid(x,y);
&lt;br&gt;z = sin(xx).*sin(yy);
&lt;br&gt;mesh(x,y,z);</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Maximum-size-for-mesh%28%29-tp21738348p21738348.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21396419</id>
	<title>Re: Xlabel does not appear in Figure</title>
	<published>2009-01-10T21:59:48Z</published>
	<updated>2009-01-10T21:59:48Z</updated>
	<author>
		<name>dmelliott</name>
	</author>
	<content type="html">&amp;quot;When I execute xlabel, ylabel or title (as per below), there is no change happening in Figure 1.0 (java based) window. Why?&amp;quot;
&lt;br&gt;&lt;br&gt;Similarly, the example from the docs, 15.1.3, was copied to an m file, and all text failed. &amp;nbsp;An upgrade to the 3.0.3 binary for XP, jhands, followed with same results. &amp;nbsp;Tried set &amp; properties as have done in other application, with no joy.
&lt;br&gt;&lt;br&gt;It is quite disappointing when the exact directions sample bombs. 
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Xlabel-does-not-appear-in-Figure-tp16721008p21396419.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21304212</id>
	<title>Re: How to update a figure while running Octave in terminal</title>
	<published>2009-01-05T19:40:50Z</published>
	<updated>2009-01-05T19:40:50Z</updated>
	<author>
		<name>roumba</name>
	</author>
	<content type="html">&lt;br&gt;Have you tried adding the command drawnow after the plot command that updates the plot?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;AlexRSS wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Amazingly ignorant question... I'm running Octave using the terminal in OSX. &amp;nbsp;I have a function that initializes a figure, then calls another function that imagesc's a matrix in that figure. &amp;nbsp;On every iteration of the function a new matrix should be printed to the figure. &amp;nbsp;Presently the figure only updates after the entire function has run. &amp;nbsp;The figure should update continuously while the function is running. &amp;nbsp;How can I get a figure to update continuously during a function run while running Octave in the terminal?
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;Alex
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-update-a-figure-while-running-Octave-in-terminal-tp21199039p21304212.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21199039</id>
	<title>How to update a figure while running Octave in terminal</title>
	<published>2008-12-28T20:45:36Z</published>
	<updated>2008-12-28T20:45:36Z</updated>
	<author>
		<name>AlexRSS</name>
	</author>
	<content type="html">Amazingly ignorant question... I'm running Octave using the terminal in OSX. &amp;nbsp;I have a function that initializes a figure, then calls another function that imagesc's a matrix in that figure. &amp;nbsp;On every iteration of the function a new matrix should be printed to the figure. &amp;nbsp;Presently the figure only updates after the entire function has run. &amp;nbsp;The figure should update continuously while the function is running. &amp;nbsp;How can I get a figure to update continuously during a function run while running Octave in the terminal?
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;Alex</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-update-a-figure-while-running-Octave-in-terminal-tp21199039p21199039.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-20581460</id>
	<title>Re: Octivate - GUI in Mono/C#</title>
	<published>2008-11-19T06:53:57Z</published>
	<updated>2008-11-19T06:53:57Z</updated>
	<author>
		<name>sali_T</name>
	</author>
	<content type="html">HELLO
&lt;br&gt;&lt;br&gt;i m trying to interface C# and octave. I've downloaded the octivate 0.0.1-1 but I did'nt find the C library &amp;quot;liboctivate.so&amp;quot;. I have a windows operating system.
&lt;br&gt;&lt;br&gt;can somebody tell me where to find it or how to create it?
&lt;br&gt;&lt;br&gt;thanks in advance
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Matthew C Ruschmann wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I recently embarked on a journey to familiarize myself with C# and Mono. 
&lt;br&gt;&amp;nbsp; As a learning experience, I designed a GUI to the GNU Octave engine. 
&lt;br&gt;The project, called Octivate, has fostered my interest over the past 
&lt;br&gt;week and has grown consequently. &amp;nbsp;The project has become more than a 
&lt;br&gt;simple learning experience. &amp;nbsp;Hence, I have created a place for it on 
&lt;br&gt;Source Forge (&lt;a href=&quot;http://octivate.sf.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://octivate.sf.net&lt;/a&gt;) and plan to pursue further 
&lt;br&gt;development during my spare time.
&lt;br&gt;&lt;br&gt;The project, for the most part, consists of a C library (liboctivate), a 
&lt;br&gt;C# class library (octave-sharp), and the main assembly (octivate).
&lt;br&gt;&lt;br&gt;liboctivate – a library written in C/C++ (based on Paul Kienzle's 
&lt;br&gt;octave_embed).
&lt;br&gt;The focus of this library is to handle the relatively complex set of 
&lt;br&gt;functions, variables, and streams. &amp;nbsp;This could possibly be implemented 
&lt;br&gt;directly through octave-sharp, but (as this was only a learning 
&lt;br&gt;experience) this method was quicker and dealt with simpler P/Invokes. 
&lt;br&gt;I'm not sure if C# (and P/Invoke) is compatible with C++ streams or 
&lt;br&gt;capable of managing classes and variable in a C library.
&lt;br&gt;With a few improvements, this library could be easily integrated into 
&lt;br&gt;other applications wishing to interface the Octave engine.
&lt;br&gt;&lt;br&gt;octave-sharp – a C# class library. &amp;nbsp;This library manages an Octave 
&lt;br&gt;session through liboctivate. &amp;nbsp;It's currently a rather small and simple 
&lt;br&gt;library, but allows for a separate layer of abstraction and availability 
&lt;br&gt;to other C# assemblies.
&lt;br&gt;&lt;br&gt;octivate – The actual GUI written using Mono, gtk, and glade. &amp;nbsp;It 
&lt;br&gt;behaves nicely, but still has a few bugs interacting with the Octave 
&lt;br&gt;engine. &amp;nbsp;(These are problems in octave-sharp but don't seem to appear 
&lt;br&gt;accessing liboctivate from C++)
&lt;br&gt;&lt;br&gt;If anyone is interested in using the code, feel free. &amp;nbsp;It is licensed 
&lt;br&gt;under the GPL. &amp;nbsp;If you are interested in contributing, feel free to 
&lt;br&gt;contact me. &amp;nbsp;Hopefully, I will have free time to further mature this 
&lt;br&gt;project over the next few weeks.
&lt;br&gt;&lt;br&gt;Thank you for you time,
&lt;br&gt;Matthew C. Ruschmann
&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Octivate---GUI-in-Mono-C--tp9208322p20581460.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-20471364</id>
	<title>Plotting stock charts and indicators</title>
	<published>2008-11-12T14:54:51Z</published>
	<updated>2008-11-12T14:54:51Z</updated>
	<author>
		<name>babelproofreader</name>
	</author>
	<content type="html">I would like to plot stock and commodity prices, along with indicators calculated using Octave, the final result looking similar to the image below.
&lt;br&gt;&lt;br&gt;&lt;img src=&quot;http://old.nabble.com/file/p20471364/%2B0%2529.png&quot; border=&quot;0&quot; /&gt;&lt;br&gt;&lt;br&gt;This chart was generated in Gnuplot using the script file below
&lt;br&gt;&lt;br&gt;reset
&lt;br&gt;set title &amp;quot;Gold Prices, MAMA &amp; FAMA Trendlines, Fisher CCI &amp; Normal CCI&amp;quot;
&lt;br&gt;set datafile separator &amp;quot;,&amp;quot;
&lt;br&gt;set xdata time
&lt;br&gt;set timefmt &amp;quot;%d-%m-%y&amp;quot;
&lt;br&gt;set grid
&lt;br&gt;set lmargin 1
&lt;br&gt;set format x &amp;quot;&amp;quot;
&lt;br&gt;set multiplot
&lt;br&gt;set size 1, 0.7
&lt;br&gt;set origin 0, 0.3
&lt;br&gt;plot &amp;quot;Gold.csv&amp;quot; using 1:2:3:4:5 notitle with candlesticks lt 3, \
&lt;br&gt;'Gold.csv' using 1:20 title 'MAMA' with lines lt 1, \
&lt;br&gt;'Gold.csv' using 1:21 title 'FAMA' with lines lt 2
&lt;br&gt;unset title
&lt;br&gt;set size 1.0, 0.3
&lt;br&gt;set origin 0.0, 0.0
&lt;br&gt;set lmargin 1
&lt;br&gt;set bmargin
&lt;br&gt;set format x
&lt;br&gt;unset grid
&lt;br&gt;Zeroline(x) = 0
&lt;br&gt;Plus100(x) = 100
&lt;br&gt;Minus100(x) = -100
&lt;br&gt;plot 'Gold.csv' using 1:33 title 'Fisher CCI' with lines lt 3, \
&lt;br&gt;'Gold.csv' using 1:34 title 'Normal CCI' with lines lt 1, \
&lt;br&gt;Zeroline(x) notitle lt 3, Plus100(x) notitle lt 3, Minus100(x) notitle lt 3
&lt;br&gt;unset multiplot
&lt;br&gt;&lt;br&gt;where the dates, prices and indicator values are stored in the file &amp;quot;Gold.csv&amp;quot; (after having been calculated and then exported from a spreadsheet). If these were stored/calculated in Octave, the values to plot would be in named vectors and my question is: is it possible to plot such a graph in Gnuplot directly via Octave through native Octave plotting functions (from my reading of the manual I don't think it is), by piping the above script to Gnuplot (I don't know how), or do I have to export the data from Octave into a file to be read by the above script, as I am currently doing with the spreadsheet?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Plotting-stock-charts-and-indicators-tp20471364p20471364.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-20203567</id>
	<title>accents in a plot</title>
	<published>2008-10-28T02:07:27Z</published>
	<updated>2008-10-28T02:07:27Z</updated>
	<author>
		<name>youtwistedmymelonman</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;How could I use special characters (like accents) in a plot? 
&lt;br&gt;When I use an accent in xlabel, for example, I get some weird characters or garbage instead of the accent I was trying to type.
&lt;br&gt;Am I doing something wrong? Is there any workaround to this?
&lt;br&gt;In Octave 2.1.73 I was using
&lt;br&gt;__gnuplot_set__ encoding iso_8859_15 
&lt;br&gt;as a workaround and it worked pretty well. But now this __whatever__ commands seem to be deprecated...
&lt;br&gt;&lt;br&gt;I'm using Octave 3.02 and my system default encoding is UTF8.
&lt;br&gt;&lt;br&gt;Best regards.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/accents-in-a-plot-tp20203567p20203567.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-19713182</id>
	<title>Re: imshow problems</title>
	<published>2008-09-28T11:35:15Z</published>
	<updated>2008-09-28T11:35:15Z</updated>
	<author>
		<name>kiltanen</name>
	</author>
	<content type="html">Octave version is 3.0.2 from OpenSUSE 11.0 science repository. Complete m-file attached
&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://old.nabble.com/file/p19713182/C.m&quot; target=&quot;_top&quot;&gt;C.m&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;dbateman wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;kiltanen wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I'm trying to get octave draw fractal with following command:
&lt;br&gt;imshow(A,'Colormap',[1,0,0;0,1,0;0,0,1]) ;A is 1000x1000 matrix of complex numbers and whole command something that course assinstants told to use in matlab. Output is supposed to be color image but octave gives black image with grey background. How i get octave to draw fractal as color image? Assingment has to be returned by 29.9.2008 12 o'clock finnish time. 
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
What version of Octave and gnuplot are you using? imshow changes in 3.0.1 and so maybe a newer version of Octave will fix the issue. In any case maybe if you can save the matrix or the code to calculate it and perhaps someone might look more closely at the issue.. Ask very nicely and they might even give you a png with the plot :-)
&lt;br&gt;&lt;br&gt;D.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/imshow-problems-tp19712971p19713182.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-19713170</id>
	<title>Re: imshow problems</title>
	<published>2008-09-28T10:57:01Z</published>
	<updated>2008-09-28T10:57:01Z</updated>
	<author>
		<name>dbateman</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;kiltanen wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I'm trying to get octave draw fractal with following command:
&lt;br&gt;imshow(A,'Colormap',[1,0,0;0,1,0;0,0,1]) ;A is 1000x1000 matrix of complex numbers and whole command something that course assinstants told to use in matlab. Output is supposed to be color image but octave gives black image with grey background. How i get octave to draw fractal as color image? Assingment has to be returned by 29.9.2008 12 o'clock finnish time. 
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
What version of Octave and gnuplot are you using? imshow changes in 3.0.1 and so maybe a newer version of Octave will fix the issue. In any case maybe if you can save the matrix or the code to calculate it and perhaps someone might look more closely at the issue.. Ask very nicely and they might even give you a png with the plot :-)
&lt;br&gt;&lt;br&gt;D.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/imshow-problems-tp19712971p19713170.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-19712971</id>
	<title>imshow problems</title>
	<published>2008-09-28T09:54:20Z</published>
	<updated>2008-09-28T09:54:20Z</updated>
	<author>
		<name>kiltanen</name>
	</author>
	<content type="html">I'm trying to get octave draw fractal with following command:
&lt;br&gt;imshow(A,'Colormap',[1,0,0;0,1,0;0,0,1]) ;A is 1000x1000 matrix of complex numbers and whole command something that course assinstants told to use in matlab. Output is supposed to be color image but octave gives black image with grey background. How i get octave to draw fractal as color image? Assingment has to be returned by 29.9.2008 12 o'clock finnish time. </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/imshow-problems-tp19712971p19712971.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-19126256</id>
	<title>problems wit imread</title>
	<published>2008-08-23T16:10:35Z</published>
	<updated>2008-08-23T16:10:35Z</updated>
	<author>
		<name>montemayorSk8</name>
	</author>
	<content type="html">Hello all !!
&lt;br&gt;I've problems when I try to use the imread function...(octave3.0)
&lt;br&gt;I've already installed octplot, gnuplot,octave-plplot and already installed the library &amp;quot;image-1.0.6.tar.gz&amp;quot; from octave-forge.
&lt;br&gt;When I write &amp;nbsp;imshow(&amp;quot;default.img&amp;quot;); all is ok and appears a screen with the image default.img (the img format is ok), but when I try to show images jpg, png and gif appear the next error:
&lt;br&gt;&lt;br&gt;error: load: /home/gerardo/Escritorio/a.jpg: inconsistent number of columns near line 3
&lt;br&gt;error: load: unable to extract matrix size from file `/home/gerardo/Escritorio/a.jpg'
&lt;br&gt;error: evaluating assignment expression near line 47, column 8
&lt;br&gt;error: called from `loadimage' in file `/usr/share/octave/3.0.0/m/image/loadimage.m'
&lt;br&gt;error: evaluating if command near line 66, column 3
&lt;br&gt;error: called from `imshow' in file `/usr/share/octave/3.0.0/m/image/imshow.m'
&lt;br&gt;&lt;br&gt;please i need to work with octave!! in this forum is all my hope !! 
&lt;br&gt;note: I don't speak english very well, only a little...
&lt;br&gt;I speak only Spanish, I apologize if I am wrong
&lt;br&gt;Thanks</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/problems-wit-imread-tp19126256p19126256.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-18758800</id>
	<title>Octave 3.0 plot arrows</title>
	<published>2008-07-31T09:48:49Z</published>
	<updated>2008-07-31T09:48:49Z</updated>
	<author>
		<name>color_guru</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I am using Octave 3.0.0 on a windows xp with gnuplot as graphics backend. I have a list of x,y values in a file named &amp;quot;from.dat&amp;quot; and &amp;quot;to.dat&amp;quot;. I need to plot arrows with the tail at &amp;quot;from&amp;quot; and the head at &amp;quot;to&amp;quot;.
&lt;br&gt;&lt;br&gt;I was able to do this pre 3.0.0 using the function arrow.m pasted below. But is not working anymore in 3.0.0 and giving the following error. 
&lt;br&gt;&lt;br&gt;parse error:
&lt;br&gt;&lt;br&gt;&amp;nbsp; syntax error
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; __gnuplot_set__ arrow 1 from 0.000000,0.000000 to 0.020000,-0.200000
&lt;br&gt;&lt;br&gt;Any help will be greatly appreciated. Thanks in Advance!
&lt;br&gt;&lt;br&gt;Rohit
&lt;br&gt;&lt;br&gt;function arrow(strt, endmat, minxy, maxxy)
&lt;br&gt;&lt;br&gt;if(nargin&amp;lt;2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error(&amp;quot;arrow: Number of input parameters must be 2&amp;quot;);
&lt;br&gt;endif
&lt;br&gt;&lt;br&gt;[nr_strt, nc_strt] = size(strt);
&lt;br&gt;[nr_end, nc_end] &amp;nbsp; = size(endmat);
&lt;br&gt;&lt;br&gt;if(nr_strt!=nr_end)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error(&amp;quot;arrow: Input arguments must have equal number of rows&amp;quot;);
&lt;br&gt;endif
&lt;br&gt;&lt;br&gt;if(nc_strt!=2 || nc_end!=nc_strt)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error(&amp;quot;arrow: Input matrices must have 2 columns&amp;quot;);
&lt;br&gt;endif
&lt;br&gt;&lt;br&gt;minx = min([min(strt(:,1)) min(endmat(:,1))]);
&lt;br&gt;miny = min([min(strt(:,2)) min(endmat(:,2))]);
&lt;br&gt;maxx = max([max(strt(:,1)) max(endmat(:,1))]);
&lt;br&gt;maxy = max([max(strt(:,2)) max(endmat(:,2))]);
&lt;br&gt;&lt;br&gt;__gnuplot_set__ nokey;
&lt;br&gt;if(nargin==4) 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eval(sprintf(&amp;quot;__gnuplot_set__ xrange [%f:%f] &amp;quot;,minxy(1),maxxy(1)));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eval(sprintf(&amp;quot;__gnuplot_set__ yrange [%f:%f] &amp;quot;,minxy(2),maxxy(2)));
&lt;br&gt;else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eval(sprintf(&amp;quot;__gnuplot_set__ xrange [%f:%f] &amp;quot;,minx,maxx));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eval(sprintf(&amp;quot;__gnuplot_set__ yrange [%f:%f] &amp;quot;,miny,maxy));
&lt;br&gt;endif
&lt;br&gt;&lt;br&gt;for i=1:nr_strt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eval(sprintf(&amp;quot;__gnuplot_set__ arrow %d from %f,%f to %f,%f\n&amp;quot;,i,strt(i,1),strt(i,2),endmat(i,1),endmat(i,2)));
&lt;br&gt;endfor
&lt;br&gt;plot((minx+maxx)/2,(miny+maxy)/2);
&lt;br&gt;&lt;br&gt;endfunction</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Octave-3.0-plot-arrows-tp18758800p18758800.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-18359431</id>
	<title>Multiple mesh plot with legend</title>
	<published>2008-07-09T04:46:37Z</published>
	<updated>2008-07-09T04:46:37Z</updated>
	<author>
		<name>Xandri</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&lt;br&gt;Can somebody please assist me to plot a multiple mesh plot with a correct legend.
&lt;br&gt;So far the following works to plot all the mesh plots in one window on one axis...
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;mesh(x,y,z)
&lt;br&gt;&amp;nbsp; &amp;nbsp;hold
&lt;br&gt;&amp;nbsp; &amp;nbsp;mesh(i,j,k)
&lt;br&gt;&lt;br&gt;However, I can not manage to add a legend that describes each mesh. &amp;nbsp;The figure just displays
&lt;br&gt;line 1, line2, etc with the colour of the line.
&lt;br&gt;&lt;br&gt;I would like to rename these &amp;quot;lines&amp;quot;.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Xandri</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Multiple-mesh-plot-with-legend-tp18359431p18359431.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-18043921</id>
	<title>octave GUI interface</title>
	<published>2008-06-21T05:40:59Z</published>
	<updated>2008-06-21T05:40:59Z</updated>
	<author>
		<name>jojo2001</name>
	</author>
	<content type="html">I used matlab for a while just to find out that matlab/simulink integration does not 
&lt;br&gt;allow enough flexibility for some engineering applications I am interested it. &amp;nbsp;Then, 
&lt;br&gt;I wrote a short interpreter to deal with it just to get in situation to be more of a
&lt;br&gt;programmer than engineer so I looked at other alternatives like lua, cint, python, 
&lt;br&gt;octave, itd and decided that octave has most of the features that I need including 
&lt;br&gt;similarity with matlab. &amp;nbsp;Although it was not designed with GUI in mind it can be 
&lt;br&gt;integrated with any GUI framework very easily with some minor issues and 
&lt;br&gt;without modifying &amp;nbsp;or even recompiling octave or using pipes or networking. 
&lt;br&gt;Adding a QT GUI front end took me about an afternoon. &amp;nbsp;I liked this fact very 
&lt;br&gt;much. &amp;nbsp;The main problem I have is that octave console commands do not behave
&lt;br&gt;the same as when they are called when linking to octave libraries. &amp;nbsp;For example, 
&lt;br&gt;whos and pkg commands return data very hard to interpret if at all. &amp;nbsp;Before I dive 
&lt;br&gt;into octave source code, I would appreciate if anybody would share their 
&lt;br&gt;experience with similar approaches. &amp;nbsp;I can intercept the return values and 
&lt;br&gt;reformat them but I do not even know what some commands are returning. &amp;nbsp;If I 
&lt;br&gt;find an acceptable solution to these issues, I will commit significant time to 
&lt;br&gt;integrating my project with octave and in the process develop a general, 
&lt;br&gt;matlab like, interface to octave and try to formulate a generic framework for a
&lt;br&gt;simulink like but more flexible interface. &amp;nbsp;
&lt;br&gt;&lt;br&gt;Anybody with any experience or interest in working together feel free to send
&lt;br&gt;me either e-mail or respond to this forum. &amp;nbsp;Pointers to any relevant documentation
&lt;br&gt;would also be greatly appreciated. 
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/octave-GUI-interface-tp18043921p18043921.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17843127</id>
	<title>Properties for mesh, surf, surface</title>
	<published>2008-06-14T12:45:47Z</published>
	<updated>2008-06-14T12:45:47Z</updated>
	<author>
		<name>jjanmaat</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I'm trying to plot some intersecting surfaces (isocline surfaces in a 3 equation dynamic system). &amp;nbsp;Is there a way to make each surface use a different line color for the generated grid?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;John.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Properties-for-mesh%2C-surf%2C-surface-tp17843127p17843127.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16988500</id>
	<title>octplot</title>
	<published>2008-04-30T11:04:54Z</published>
	<updated>2008-04-30T11:04:54Z</updated>
	<author>
		<name>davoudi</name>
	</author>
	<content type="html">Hi Everybody,
&lt;br&gt;&lt;br&gt;&amp;nbsp;I have difficulty in plotting the right style (as I wish) of line in octave using gnuplot s I tried to install octplot. Unfortunately, octplot does not appear in my fink list, I guess because I am using Leopard!? So I tried to install the code myself using the code available on net: 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=86268&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/project/showfiles.php?group_id=86268&lt;/a&gt;. 
&lt;br&gt;&lt;br&gt;So everything went well with configure but there was a problem with make command:
&lt;br&gt;&lt;br&gt;patch.cpp:149: error: invalid conversion from ‘GLvoid (*)(...)’ to ‘void (*)()’
&lt;br&gt;patch.cpp:149: error: &amp;nbsp; initializing argument 3 of ‘void gluTessCallback(GLUtesselator*, GLenum, void (*)())’
&lt;br&gt;patch.cpp:151: error: invalid conversion from ‘GLvoid (*)(...)’ to ‘void (*)()’
&lt;br&gt;patch.cpp:151: error: &amp;nbsp; initializing argument 3 of ‘void gluTessCallback(GLUtesselator*, GLenum, void (*)())’
&lt;br&gt;patch.cpp:153: error: invalid conversion from ‘GLvoid (*)(...)’ to ‘void (*)()’
&lt;br&gt;patch.cpp:153: error: &amp;nbsp; initializing argument 3 of ‘void gluTessCallback(GLUtesselator*, GLenum, void (*)())’
&lt;br&gt;patch.cpp:155: error: invalid conversion from ‘GLvoid (*)(...)’ to ‘void (*)()’
&lt;br&gt;patch.cpp:155: error: &amp;nbsp; initializing argument 3 of ‘void gluTessCallback(GLUtesselator*, GLenum, void (*)())’
&lt;br&gt;patch.cpp:157: error: invalid conversion from ‘GLvoid (*)(...)’ to ‘void (*)()’
&lt;br&gt;patch.cpp:157: error: &amp;nbsp; initializing argument 3 of ‘void gluTessCallback(GLUtesselator*, GLenum, void (*)())’
&lt;br&gt;patch.cpp:159: error: invalid conversion from ‘GLvoid (*)(...)’ to ‘void (*)()’
&lt;br&gt;patch.cpp:159: error: &amp;nbsp; initializing argument 3 of ‘void gluTessCallback(GLUtesselator*, GLenum, void (*)())’
&lt;br&gt;make[2]: *** [octplot-patch.o] Error 1
&lt;br&gt;make[1]: *** [all-recursive] Error 1
&lt;br&gt;make: *** [all] Error 2
&lt;br&gt;&lt;br&gt;and as you can guess I have no idea how to fix this!?
&lt;br&gt;&lt;br&gt;Thanks.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/octplot-tp16988500p16988500.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16929102</id>
	<title>gdImageStringFT: Could not find/open font while printing string values of mean with font Helvetica</title>
	<published>2008-04-27T15:18:42Z</published>
	<updated>2008-04-27T15:18:42Z</updated>
	<author>
		<name>garfieldpbj</name>
	</author>
	<content type="html">Can anybody help me what to do when I get the following error when trying to print to a .png file? 
&lt;br&gt;&lt;br&gt;gdImageStringFT: Could not find/open font while printing string value with font Helvetica 
&lt;br&gt;? 
&lt;br&gt;&lt;br&gt;I have searched the internet, but nothing seems to help.. 
&lt;br&gt;&lt;br&gt;The problem arose after i upgraded to ubuntu 8.04 from 7.10 
&lt;br&gt;&lt;br&gt;/Peter</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gdImageStringFT%3A-Could-not-find-open-font-while-printing-string-values-of-mean-with-font-Helvetica-tp16929102p16929102.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16906817</id>
	<title>gdImageStringFT: Could not find/open font while printing string values of mean with font Helvetica</title>
	<published>2008-04-25T15:33:22Z</published>
	<updated>2008-04-25T15:33:22Z</updated>
	<author>
		<name>garfieldpbj</name>
	</author>
	<content type="html">Can anybody help me what to do when I get the following error when trying to print to a .png file?
&lt;br&gt;&lt;br&gt;gdImageStringFT: Could not find/open font while printing string value with font Helvetica
&lt;br&gt;?
&lt;br&gt;&lt;br&gt;I have searched the internet, but nothing seems to help..
&lt;br&gt;&lt;br&gt;The problem arose after i upgraded to ubuntu 8.04 from 7.10
&lt;br&gt;&lt;br&gt;/Peter
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gdImageStringFT%3A-Could-not-find-open-font-while-printing-string-values-of-mean-with-font-Helvetica-tp16906817p16906817.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16721008</id>
	<title>Xlabel does not appear in Figure</title>
	<published>2008-04-16T04:40:42Z</published>
	<updated>2008-04-16T04:40:42Z</updated>
	<author>
		<name>Hakan</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I am newbie to Octave. There are some discussion about xlabel, but couldnt find any matching answer. Sorry if I repost same question somewhere in Forum. 
&lt;br&gt;&lt;br&gt;I use XP and Octave 3.0.0. When I execute xlabel, ylabel or title (as per below), there is no change happening in Figure 1.0 (java based) window. Why? Where am I doing wrong? Thanks for your time and understanding.
&lt;br&gt;&lt;br&gt;x=linspace(-pi,pi,100);
&lt;br&gt;y=sin(x);
&lt;br&gt;plot(x,y);
&lt;br&gt;xlabel('x value');
&lt;br&gt;ylabel('sinx value');
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Hakan
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Xlabel-does-not-appear-in-Figure-tp16721008p16721008.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16418667</id>
	<title>solid drawing</title>
	<published>2008-04-01T08:17:29Z</published>
	<updated>2008-04-01T08:17:29Z</updated>
	<author>
		<name>jomin</name>
	</author>
	<content type="html">Hallo!
&lt;br&gt;i am not very exper. with octave!
&lt;br&gt;&lt;br&gt;i want to plot a set of data
&lt;br&gt;x = [1,2,3,4,5,...]
&lt;br&gt;y = [1,2,3,4,5]
&lt;br&gt;&lt;br&gt;when i type: plot (x,y,'Linewidth',1,'r-'); nothing happens: it does not draw the solid line; if i change the r- to r* it draws the stars...
&lt;br&gt;&lt;br&gt;what is wrong here?
&lt;br&gt;&lt;br&gt;THX!
&lt;br&gt;octave 3 with gnuplot on ubuntu</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/solid-drawing-tp16418667p16418667.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-15064151</id>
	<title>graphics 'n movie</title>
	<published>2008-01-24T05:47:36Z</published>
	<updated>2008-01-24T05:47:36Z</updated>
	<author>
		<name>Javul</name>
	</author>
	<content type="html">Hello everyone.
&lt;br&gt;I wanted to implement an octave software that behaves in a manner similar to the chart given by windows media player when dell'ascolta a song.
&lt;br&gt;The procedure is to charge the song through wavread octave, then the values found should make the Fourier transform and printing on the screen. An 'the idea but I do not know write commands and move forward, it is not that you could help me?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/graphics-%27n-movie-tp15064151p15064151.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-15022192</id>
	<title>Re: GUI Frontend options</title>
	<published>2008-01-22T08:10:20Z</published>
	<updated>2008-01-22T08:10:20Z</updated>
	<author>
		<name>BrowseOct</name>
	</author>
	<content type="html">I am crossposting this on using a browser. It's 3 hours of work. 
&lt;br&gt;&lt;br&gt;I'm working on a very limited and different approach to a GUI. Octave is a STDIN and STDOUT focused product. I'd like a functionalized library using browser based java scripting as an alternative. (It's crude in this form, but workable). 
&lt;br&gt;I've needed to use a browser as a front end to html GUIs in Octave with Stdin and Stdout. Both IE (4+) in windows and Firefox support console output. This is based on Gunter Born's wscript page. It stops octave in the process. I still support your scheme, but there is some browser based interaction that would add a lot to Octave. 
&lt;br&gt;&lt;br&gt;I'm still working the firefox stuff and linux. The code in form1.html shown below should have a window.close(); to return and close the browser. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Yes, it's still very crude, but it offers some simple opportunities for easy development of GUI's with forms and browsers. 
&lt;br&gt;&lt;br&gt;The below example should work... 
&lt;br&gt;In windows octave, a simple line like the following executes a cscript. 
&lt;br&gt;[Status,Output] = System(&amp;quot;cscript octave2.js&amp;quot;); 
&lt;br&gt;&lt;br&gt;The cscript returns the wscript.echo entries from the cscript batch file. 
&lt;br&gt;&lt;br&gt;octave2.js 
&lt;br&gt;&lt;br&gt;//************************************************ 
&lt;br&gt;// File: &amp;nbsp; &amp;nbsp;Form1.js (WSH sample in JScript) 
&lt;br&gt;// Author: &amp;nbsp;(c) G. Born modified for octave 
&lt;br&gt;// 
&lt;br&gt;// Using Internet Explorer 4 or 5 to retrieve 
&lt;br&gt;// form input 
&lt;br&gt;//************************************************ 
&lt;br&gt;var Text2 = &amp;quot;You entered:\n&amp;quot;; 
&lt;br&gt;&lt;br&gt;// Launch Internet Explorer, and connect event handler. 
&lt;br&gt;var oIE = WScript.CreateObject(&amp;quot;InternetExplorer.Application&amp;quot;, &amp;quot;IE_&amp;quot;); 
&lt;br&gt;&lt;br&gt;oIE.Left = 50; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Window position and other properties 
&lt;br&gt;oIE.Top = 100; 
&lt;br&gt;oIE.Height = 100; 
&lt;br&gt;oIE.Width = 280; 
&lt;br&gt;oIE.MenuBar = 0; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // No menu 
&lt;br&gt;oIE.ToolBar = 0; 
&lt;br&gt;oIE.StatusBar = 0; 
&lt;br&gt;// Commented out because it causes a corrupted window border. 
&lt;br&gt;// oIE.Resizable = 0 &amp;nbsp; &amp;nbsp; // Disable resizing. 
&lt;br&gt;oIE.navigate(GetPath() + &amp;quot;Form1.htm&amp;quot;); &amp;nbsp;// Load form. 
&lt;br&gt;oIE.Visible = 1; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Keep visible. 
&lt;br&gt;&lt;br&gt;// Important: Wait until IE is ready. 
&lt;br&gt;while (oIE.Busy) {WScript.Sleep(200)} &amp;nbsp;// Suspend 
&lt;br&gt;&lt;br&gt;var ready = false; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Form is still open. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;// Wait until the user closes the form using 
&lt;br&gt;// the Close button in the upper right corner of the window. 
&lt;br&gt;// This sets ready to true in the onclose event. 
&lt;br&gt;while (!ready) {WScript.Sleep(500)} &amp;nbsp;// Suspend 
&lt;br&gt;&lt;br&gt;// Display the data obtained in the event handling procedure. 
&lt;br&gt;WScript.Echo(Text2 + &amp;quot;\n&amp;quot; + name + &amp;quot;\n&amp;quot; + age); 
&lt;br&gt;&lt;br&gt;// We're ready now. The sample script terminates. 
&lt;br&gt;// Here you can add script-specific code. 
&lt;br&gt;&lt;br&gt;// Event handler and helper 
&lt;br&gt;&lt;br&gt;function IE_OnQuit() 
&lt;br&gt;{ 
&lt;br&gt;&amp;nbsp; &amp;nbsp; // Event handler is called if IE terminates. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; // This happens if the user clicks the Close button. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; // Retrieve the values. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; name = &amp;quot;Name: &amp;quot; + oIE.Document.ValidForm.fName.value; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; age = &amp;quot;Age: &amp;quot; + oIE.Document.ValidForm.fAge.value; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; ready = true; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Indicate form is closed. 
&lt;br&gt;} 
&lt;br&gt;&lt;br&gt;function GetPath() 
&lt;br&gt;{ 
&lt;br&gt;&amp;nbsp; &amp;nbsp; // Get script path because form (HTML file) 
&lt;br&gt;&amp;nbsp; &amp;nbsp; // must be in the same folder. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; var path = WScript.ScriptFullName; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; path = path.substr(0, path.lastIndexOf(&amp;quot;\\&amp;quot;) + 1); 
&lt;br&gt;&amp;nbsp; &amp;nbsp; return path; 
&lt;br&gt;} 
&lt;br&gt;&lt;br&gt;//*** End 
&lt;br&gt;&lt;br&gt;&lt;br&gt;and the form form1.htm which returns to the script on the browser close. &amp;nbsp;(Needs a javascript function so use the X to close the window. 
&lt;br&gt;&lt;br&gt;&amp;lt;HTML&amp;gt; 
&lt;br&gt;&amp;lt;form name=&amp;quot;ValidForm&amp;quot;&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;p&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Name: &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;input type=&amp;quot;text&amp;quot; size=&amp;quot;5&amp;quot; name=&amp;quot;fName&amp;quot;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Age: &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;input type=&amp;quot;text&amp;quot; size=&amp;quot;3&amp;quot; name=&amp;quot;fAge&amp;quot;&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;br&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Password: &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;input type=&amp;quot;password&amp;quot; size=&amp;quot;12&amp;quot; maxlength=&amp;quot;8&amp;quot; name=&amp;quot;fPassw&amp;quot;&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;input type=&amp;quot;button&amp;quot; name=&amp;quot;Button1&amp;quot; value=&amp;quot;OK&amp;quot;&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;br&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;fPrinter&amp;quot; value=&amp;quot;1&amp;quot; checked&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Printer &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;fScreen&amp;quot; value=&amp;quot;2&amp;quot;&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Screen 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;br&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Remarks: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;br&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;textarea cols=&amp;quot;40&amp;quot; rows=&amp;quot;5&amp;quot; name=&amp;quot;fRemark&amp;quot;&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/textarea&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/p&amp;gt; 
&lt;br&gt;&amp;lt;/form&amp;gt; 
&lt;br&gt;&amp;lt;/HTML&amp;gt; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;The output variable will contain everything from the echoed commands. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;gri6507 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hello, 
&lt;br&gt;&lt;br&gt;Please pardon mme for posting this question since it seems like it's been asked many times before. However, I am quite confised about which options are still valid for a GUI frontend to Octave.
&lt;br&gt;&lt;br&gt;What I'd like to have is something like Octave Workshop (&lt;a href=&quot;http://www.math.mcgill.ca/loisel/octave-workshop/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.math.mcgill.ca/loisel/octave-workshop/&lt;/a&gt;). However, as that page says, the project is no longer being maintained. There also seems to be something at &lt;a href=&quot;https://sourceforge.net/projects/octave-gtk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/projects/octave-gtk/&lt;/a&gt;, but the screenshots there are not very good and it seems like activity has stopped on that project as well. I also saw a number o references to Tcl, JAVA, and Python programs that are in various states of maintenance and functionality. In summary, I'm confused.
&lt;br&gt;&lt;br&gt;Can someone please calrify this issue for me?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;img src=&quot;http://old.nabble.com/file/p15022192/OCTBrowse.jpg&quot; border=&quot;0&quot; /&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GUI-Frontend-options-tp13694089p15022192.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-14722181</id>
	<title>Re: GUI Frontend options Octave &amp; Matlab</title>
	<published>2008-01-09T13:33:55Z</published>
	<updated>2008-01-09T13:33:55Z</updated>
	<author>
		<name>dave23</name>
	</author>
	<content type="html">Indeed,
&lt;br&gt;Any information on using GUIs with Octave would be welcome. I am trying to run a GUI programed for Matlab and I cannot get results.
&lt;br&gt;Thanks,
&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;gri6507 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hello, 
&lt;br&gt;&lt;br&gt;Please pardon mme for posting this question since it seems like it's been asked many times before. However, I am quite confised about which options are still valid for a GUI frontend to Octave.
&lt;br&gt;&lt;br&gt;What I'd like to have is something like Octave Workshop (&lt;a href=&quot;http://www.math.mcgill.ca/loisel/octave-workshop/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.math.mcgill.ca/loisel/octave-workshop/&lt;/a&gt;). However, as that page says, the project is no longer being maintained. There also seems to be something at &lt;a href=&quot;https://sourceforge.net/projects/octave-gtk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/projects/octave-gtk/&lt;/a&gt;, but the screenshots there are not very good and it seems like activity has stopped on that project as well. I also saw a number o references to Tcl, JAVA, and Python programs that are in various states of maintenance and functionality. In summary, I'm confused.
&lt;br&gt;&lt;br&gt;Can someone please calrify this issue for me?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GUI-Frontend-options-tp13694089p14722181.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13694088</id>
	<title>GUI Frontend options</title>
	<published>2007-11-11T10:11:39Z</published>
	<updated>2007-11-11T10:11:39Z</updated>
	<author>
		<name>gri6507</name>
	</author>
	<content type="html">Hello, 
&lt;br&gt;&lt;br&gt;Please pardon mme for posting this question since it seems like it's been asked many times before. However, I am quite confised about which options are still valid for a GUI frontend to Octave.
&lt;br&gt;&lt;br&gt;What I'd like to have is something like Octave Workshop (&lt;a href=&quot;http://www.math.mcgill.ca/loisel/octave-workshop/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.math.mcgill.ca/loisel/octave-workshop/&lt;/a&gt;). However, as that page says, the project is no longer being maintained. There also seems to be something at &lt;a href=&quot;https://sourceforge.net/projects/octave-gtk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/projects/octave-gtk/&lt;/a&gt;, but the screenshots there are not very good and it seems like activity has stopped on that project as well. I also saw a number o references to Tcl, JAVA, and Python programs that are in various states of maintenance and functionality. In summary, I'm confused.
&lt;br&gt;&lt;br&gt;Can someone please calrify this issue for me?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GUI-Frontend-options-tp13694088p13694088.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13694089</id>
	<title>GUI Frontend options</title>
	<published>2007-11-11T10:11:39Z</published>
	<updated>2007-11-11T10:11:39Z</updated>
	<author>
		<name>gri6507</name>
	</author>
	<content type="html">Hello, 
&lt;br&gt;&lt;br&gt;Please pardon mme for posting this question since it seems like it's been asked many times before. However, I am quite confised about which options are still valid for a GUI frontend to Octave.
&lt;br&gt;&lt;br&gt;What I'd like to have is something like Octave Workshop (&lt;a href=&quot;http://www.math.mcgill.ca/loisel/octave-workshop/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.math.mcgill.ca/loisel/octave-workshop/&lt;/a&gt;). However, as that page says, the project is no longer being maintained. There also seems to be something at &lt;a href=&quot;https://sourceforge.net/projects/octave-gtk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/projects/octave-gtk/&lt;/a&gt;, but the screenshots there are not very good and it seems like activity has stopped on that project as well. I also saw a number o references to Tcl, JAVA, and Python programs that are in various states of maintenance and functionality. In summary, I'm confused.
&lt;br&gt;&lt;br&gt;Can someone please calrify this issue for me?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GUI-Frontend-options-tp13694089p13694089.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-11086027</id>
	<title>Re: Axes object in Octave 2.9.12 and other plotting questions</title>
	<published>2007-06-12T14:04:56Z</published>
	<updated>2007-06-12T14:04:56Z</updated>
	<author>
		<name>Daniel J Sebald</name>
	</author>
	<content type="html">Mark B. wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have a script in Matlab (v 7) that plots a graph with two series and
&lt;br&gt;&amp;gt; that assigns &amp;quot;tick labels&amp;quot; to axis X. It is something like this (for
&lt;br&gt;&amp;gt; only one series):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; %%%%%%%%%%%%%%%
&lt;br&gt;&amp;gt; figure1 = figure;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; axes1 = axes('Parent',figure1,...
&lt;br&gt;&amp;gt; 'xticklabel',
&lt;br&gt;&amp;gt; {'02/13';'02/14';'02/15';'02/16';'02/17';'02/18';'02/19';'02/20';'02/21';'02/22'},...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 'xtick',[0 24 48 72 96 120 144 168 192 216],...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 'position',[0.13 0.11 0.7943 0.815]);
&lt;br&gt;&amp;gt; box('on');
&lt;br&gt;&amp;gt; hold all
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; plot1 = plot(X1,YMatrix1);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; set(plot1,'DisplayName','The name');
&lt;br&gt;&amp;gt; set(plot1,'Color',[0 0 1]);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; legend1 = legend(axes1,'show');
&lt;br&gt;&amp;gt; set(legend1,'Location','NorthWest');
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; %%%%%%%%%%%%%%%
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There are some problem with this script in Octave:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1) hold all. Runs normally in Matlab but Gives an error in Octave.
&lt;br&gt;&amp;gt; Commenting that line makes the error go away but no tick labels are
&lt;br&gt;&amp;gt; displayed either in Matlab or Octave
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2) warning: set: invalid property `DisplayName' in Octave
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 3) error: legend: expecting argument to be a character string
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My questions are:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - How can I assign tick labels to axis X that works in Octave (and
&lt;br&gt;&amp;gt; also if possible to be compatible with Matlab)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - How can I set the DisplayName of the series that I am plotting?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - How can I assign a legend to an axes object and set its position and
&lt;br&gt;&amp;gt; text?
&lt;/div&gt;&lt;br&gt;Mark,
&lt;br&gt;&lt;br&gt;Graphics code is in a transitional period and there are some limitations at the 
&lt;br&gt;moment. &amp;nbsp;Some of the syntax you used simply isn't supported. &amp;nbsp;(Type &amp;quot;type 
&lt;br&gt;legend&amp;quot; to see.) &amp;nbsp;This should not be difficult to update, and if you'd like to 
&lt;br&gt;offer to do so, please do.
&lt;br&gt;&lt;br&gt;If you are using gnuplot as the underlying graphics for Octave, there is support 
&lt;br&gt;for any key position you can wish to have (interior corners, exterior corners, 
&lt;br&gt;manual placement):
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://gnuplot.sourceforge.net/demo_4.3/key.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gnuplot.sourceforge.net/demo_4.3/key.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;There may need to be some alteration to __go_draw_axes__ if the following 
&lt;br&gt;positions don't quite cover everything.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;	case -1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pos = &amp;quot;right bottom&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inout = &amp;quot;outside&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pos = &amp;quot;right top&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pos = &amp;quot;left top&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pos = &amp;quot;left bottom&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pos = &amp;quot;right bottom&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; otherwise
&lt;br&gt;&lt;br&gt;There is an inherent limitation currently in gnuplot to do only a single key. 
&lt;br&gt;If multiple legends is what you want, that would be a feature request to gnuplot.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Dan
&lt;br&gt;_______________________________________________
&lt;br&gt;Octave-graphics mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=11086027&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Octave-graphics@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.cae.wisc.edu/mailman/listinfo/octave-graphics&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.cae.wisc.edu/mailman/listinfo/octave-graphics&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Axes-object-in-Octave-2.9.12-and-other-plotting-questions-tp11085343p11086027.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-11085727</id>
	<title>Axes object in Octave 2.9.12 and other plotting questions</title>
	<published>2007-06-12T13:47:19Z</published>
	<updated>2007-06-12T13:47:19Z</updated>
	<author>
		<name>John W. Eaton</name>
	</author>
	<content type="html">This list was set up for the discussion of future graphics and GUI
&lt;br&gt;tools in Octave, but is now nearly dead. &amp;nbsp;For questions about how to
&lt;br&gt;use the current graphics features in Octave, please use the help list
&lt;br&gt;since there are many more subscribers there who might be able to
&lt;br&gt;answer your questions.
&lt;br&gt;&lt;br&gt;Not all of Matlab's handle graphics features are supported in Octave.
&lt;br&gt;If you'd like to help improve that situation, then please join the
&lt;br&gt;maintainers mailing list and contribute some code.
&lt;br&gt;&lt;br&gt;jwe
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 12-Jun-2007, Mark B. wrote:
&lt;br&gt;&lt;br&gt;| 
&lt;br&gt;| Hello,
&lt;br&gt;| 
&lt;br&gt;| I have a script in Matlab (v 7) that plots a graph with two series and
&lt;br&gt;| that assigns &amp;quot;tick labels&amp;quot; to axis X. It is something like this (for
&lt;br&gt;| only one series):
&lt;br&gt;| 
&lt;br&gt;| %%%%%%%%%%%%%%%
&lt;br&gt;| figure1 = figure;
&lt;br&gt;ppp| 
&lt;br&gt;| axes1 = axes('Parent',figure1,...
&lt;br&gt;| 'xticklabel',
&lt;br&gt;| {'02/13';'02/14';'02/15';'02/16';'02/17';'02/18';'02/19';'02/20';'02/21';'02/22'},...
&lt;br&gt;| &amp;nbsp; &amp;nbsp; 'xtick',[0 24 48 72 96 120 144 168 192 216],...
&lt;br&gt;| &amp;nbsp; &amp;nbsp; 'position',[0.13 0.11 0.7943 0.815]);
&lt;br&gt;| box('on');
&lt;br&gt;| hold all
&lt;br&gt;| 
&lt;br&gt;| plot1 = plot(X1,YMatrix1);
&lt;br&gt;| 
&lt;br&gt;| set(plot1,'DisplayName','The name');
&lt;br&gt;| set(plot1,'Color',[0 0 1]);
&lt;br&gt;| 
&lt;br&gt;| legend1 = legend(axes1,'show');
&lt;br&gt;| set(legend1,'Location','NorthWest');
&lt;br&gt;| 
&lt;br&gt;| %%%%%%%%%%%%%%%
&lt;br&gt;| 
&lt;br&gt;| There are some problem with this script in Octave:
&lt;br&gt;| 
&lt;br&gt;| 1) hold all. Runs normally in Matlab but Gives an error in Octave.
&lt;br&gt;| Commenting that line makes the error go away but no tick labels are
&lt;br&gt;| displayed either in Matlab or Octave
&lt;br&gt;| 
&lt;br&gt;| 2) warning: set: invalid property `DisplayName' in Octave
&lt;br&gt;| 
&lt;br&gt;| 3) error: legend: expecting argument to be a character string
&lt;br&gt;| 
&lt;br&gt;| My questions are:
&lt;br&gt;| 
&lt;br&gt;| - How can I assign tick labels to axis X that works in Octave (and
&lt;br&gt;| also if possible to be compatible with Matlab)
&lt;br&gt;| 
&lt;br&gt;| - How can I set the DisplayName of the series that I am plotting?
&lt;br&gt;| 
&lt;br&gt;| - How can I assign a legend to an axes object and set its position and
&lt;br&gt;| text?
&lt;br&gt;| 
&lt;br&gt;| Thanks!
&lt;br&gt;| 
&lt;br&gt;| -- 
&lt;br&gt;| View this message in context: &lt;a href=&quot;http://www.nabble.com/Axes-object-in-Octave-2.9.12-and-other-plotting-questions-tf3909588.html#a11085343&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Axes-object-in-Octave-2.9.12-and-other-plotting-questions-tf3909588.html#a11085343&lt;/a&gt;&lt;br&gt;| Sent from the Octave - Graphics mailing list archive at Nabble.com.
&lt;br&gt;| 
&lt;br&gt;| _______________________________________________
&lt;br&gt;| Octave-graphics mailing list
&lt;br&gt;| &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=11085727&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Octave-graphics@...&lt;/a&gt;
&lt;br&gt;| &lt;a href=&quot;https://www.cae.wisc.edu/mailman/listinfo/octave-graphics&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.cae.wisc.edu/mailman/listinfo/octave-graphics&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Octave-graphics mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=11085727&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Octave-graphics@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www.cae.wisc.edu/mailman/listinfo/octave-graphics&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www.cae.wisc.edu/mailman/listinfo/octave-graphics&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Axes-object-in-Octave-2.9.12-and-other-plotting-questions-tp11085343p11085727.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-11085343</id>
	<title>Axes object in Octave 2.9.12 and other plotting questions</title>
	<published>2007-06-12T13:33:58Z</published>
	<updated>2007-06-12T13:33:58Z</updated>
	<author>
		<name>mbn</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I have a script in Matlab (v 7) that plots a graph with two series and
&lt;br&gt;that assigns &amp;quot;tick labels&amp;quot; to axis X. It is something like this (for
&lt;br&gt;only one series):
&lt;br&gt;&lt;br&gt;%%%%%%%%%%%%%%%
&lt;br&gt;figure1 = figure;
&lt;br&gt;&lt;br&gt;axes1 = axes('Parent',figure1,...
&lt;br&gt;'xticklabel',
&lt;br&gt;{'02/13';'02/14';'02/15';'02/16';'02/17';'02/18';'02/19';'02/20';'02/21';'02/22'},...
&lt;br&gt;&amp;nbsp; &amp;nbsp; 'xtick',[0 24 48 72 96 120 144 168 192 216],...
&lt;br&gt;&amp;nbsp; &amp;nbsp; 'position',[0.13 0.11 0.7943 0.815]);
&lt;br&gt;box('on');
&lt;br&gt;hold all
&lt;br&gt;&lt;br&gt;plot1 = plot(X1,YMatrix1);
&lt;br&gt;&lt;br&gt;set(plot1,'DisplayName','The name');
&lt;br&gt;set(plot1,'Color',[0 0 1]);
&lt;br&gt;&lt;br&gt;legend1 = legend(axes1,'show');
&lt;br&gt;set(legend1,'Location','NorthWest');
&lt;br&gt;&lt;br&gt;%%%%%%%%%%%%%%%
&lt;br&gt;&lt;br&gt;There are some problem with this script in Octave:
&lt;br&gt;&lt;br&gt;1) hold all. Runs normally in Matlab but Gives an error in Octave.
&lt;br&gt;Commenting that line makes the error go away but no tick labels are
&lt;br&gt;displayed either in Matlab or Octave
&lt;br&gt;&lt;br&gt;2) warning: set: invalid property `DisplayName' in Octave
&lt;br&gt;&lt;br&gt;3) error: legend: expecting argument to be a character string
&lt;br&gt;&lt;br&gt;My questions are:
&lt;br&gt;&lt;br&gt;- How can I assign tick labels to axis X that works in Octave (and
&lt;br&gt;also if possible to be compatible with Matlab)
&lt;br&gt;&lt;br&gt;- How can I set the DisplayName of the series that I am plotting?
&lt;br&gt;&lt;br&gt;- How can I assign a legend to an axes object and set its position and
&lt;br&gt;text?
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Axes-object-in-Octave-2.9.12-and-other-plotting-questions-tp11085343p11085343.html" />
</entry>

</feed>
