|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Xlabel does not appear in Figure Hello,
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. 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. x=linspace(-pi,pi,100); y=sin(x); plot(x,y); xlabel('x value'); ylabel('sinx value'); |
|
|
Re: Xlabel does not appear in FigureOn Wed, Apr 16, 2008 at 7:26 PM, Hakan <hakantech@...> wrote:
> > Hello, > > 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. > > 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. > > x=linspace(-pi,pi,100); > y=sin(x); > plot(x,y); > xlabel('x value'); > ylabel('sinx value'); It works for me. What is the version of your Java? Michael. _______________________________________________ Bug-octave mailing list Bug-octave@... https://www.cae.wisc.edu/mailman/listinfo/bug-octave |
|
|
Text does not appear in figure (Re: Xlabel does not appear in Figure)I can confirm this bug. I'm not a newbie to Octave :-) but just now updated to Octave 3.0.1 from 2.9.15. As hakantech wrote, but additionally also text() and legend() does not show characters in/on a figure. I changed 'fontname' prop of a text object to "Sans" without improvement. I enabled the java console, but it does not open on using jhandles. Curiously, axis ticks have the numbers shown correctly (using a Courier type font?). No error message visible. Is there some debug output available / can it be enabled? * Octave 3.0.1, i686-pc-msdosmsvc * WinXP SP2 DE (Germany) * JRE 1.6.0_05 Switched to gnuplot for the time being ... but will try any sugestion you have. regards Ralf |
|
|
Re: Text does not appear in figure (Re: Xlabel does not appear in Figure)On Mon, May 19, 2008 at 5:19 PM, Cker444 <cker@...> wrote:
> > > Michael Goffioul-2 wrote: >> >> It works for me. What is the version of your Java? >> Michael. >> > > I can confirm this bug. > > I'm not a newbie to Octave :-) but just now updated to Octave 3.0.1 from > 2.9.15. > > As hakantech wrote, but additionally also text() and legend() does not show > characters in/on a figure. > > I changed 'fontname' prop of a text object to "Sans" without improvement. > > I enabled the java console, but it does not open on using jhandles. > > Curiously, axis ticks have the numbers shown correctly (using a Courier type > font?). > > No error message visible. Is there some debug output available / can it be > enabled? > > * Octave 3.0.1, i686-pc-msdosmsvc > * WinXP SP2 DE (Germany) > * JRE 1.6.0_05 > > Switched to gnuplot for the time being ... but will try any sugestion you > have. I don't have many ideas for the time being, as it works OK for me. What you can check is the properties of the text object and look for something weird. You can also try to place a text object at point (0,0,0) and set axis limits to [-1 1 -1 1 -1 1] (just to check the text object is inside visible world for OpenGL). Michael. _______________________________________________ Bug-octave mailing list Bug-octave@... https://www.cae.wisc.edu/mailman/listinfo/bug-octave |
|
|
Re: Text does not appear in figure (Re: Xlabel does not appear in Figure)Hi Michael,
Props look ok to me. You could look at the attachment: textprop.zip There, a simple test script and the saved text props with jhandles and gnuplot are included. Display with gnuplot is as expected. No text except axis tick numers with jhandles. Gnuplot complains "missing Hevetica, using Sans". Well, it is XP. Changing fonts with jhandles to "Sans" or "Courier" did not help. What are valid font names for jhandles? regards Ralf |
| Free embeddable forum powered by Nabble | Forum Help |