Sun 20 Sep 2015 03:21:53 PM UTC, comment #11:
Thanks for looking into this, as well as for your suggestions.
|
Sat 12 Sep 2015 06:52:39 PM UTC, comment #10:
This seems more like a cygwin packaging or build environment problem than an Octave bug, since others have this behavior working perfectly in the native Windows build.
Leaving open for now in case other cygwin users have a way to help, but this will likely be closed since there doesn't seem to be anything wrong with Octave.
|
Fri 04 Sep 2015 08:55:26 PM UTC, comment #9:
Well it seems that the particular combination of HW and SW is not going to work on your computer. If you are running Windows 7, you could try the Windows version of Octave (http://www.gnu.org/software/octave/download.html) rather than the Linux version running on Cygwin. Or you could just use gnuplot.
|
Fri 04 Sep 2015 08:23:57 PM UTC, comment #8:
The font changes work fine with gnuplot.
|
Fri 04 Sep 2015 08:06:52 PM UTC, comment #7:
>> close all
>> plot(0:3)
>> set (gca, "fontname", "Arial");
>> set (gca, "fontname", "Helvetica");
>> set (gca, "fontname", "Courier");
>> set (gca, "fontname", "Times");
no rendering for any of the fonts.
>> close all
>> graphics_toolkit qt
>> text (0.5, 0.5, "Hello World", "fontname", "Arial");
>> set (gcf, "__enhanced__", "off");
no rendering either. All the fonts appear to be installed per "fc-list".
|
Fri 04 Sep 2015 06:37:55 PM UTC, comment #6:
At least there is a workaround in using gnuplot which you can use for the time being.
Since the text example illustrated the problem that will be simpler to work with going forward
Further questions
1) What font did you use for "FILL_IN_A_GOOD_FONT"?
2) Do you have any special hardware like an Nvidia graphics card?
3) Does this result look any better?
|
Fri 04 Sep 2015 05:28:55 PM UTC, comment #5:
After adding closed parentheses, text command executes, but string is not rendered properly. Also tried
>> close all
>> graphics_toolkit qt
>> plot(0:3)
>> set (gca,"fontname","FILL_IN_A_GOOD_FONT")
and text in plot is still not properly rendered. Resizing doesnt help.
|
Fri 04 Sep 2015 04:09:31 PM UTC, comment #4:
There was a typo in the code I sent. It needed a closing parenthesis to execute. Now that we know it is OpenGl only, try
One possibility is the font that was selected is not particularly well rendered for some reason. You could attempt to force it to a known good value with the set() command. Sample code:
On Linux you should be able to get a list of fonts available by using
from a shell command line.
|
Fri 04 Sep 2015 03:12:17 PM UTC, comment #3:
Hi, only the gnuplot engine works (which is great for me since I need to be able to track the cursor position), the fltk and qt engines do not work. Resizing does not affect the rendering (lack thereof) when using fltk and qt.
close all
text (0.5, 0.5, "0.1 0.5 Hello World 0.75 1.0"
## Does this display correctly
No...Octave hangs:
>> close all
>> graphics_toolkit gnuplot
>> text(0.5, 0.5, "0.1 0.5 Hello World 0.75 1.0"
(and nothing happens)
|
Fri 04 Sep 2015 11:36:13 AM UTC, comment #2:
Another point, do you have special hardware like an Nvidia graphics card?
|
Fri 04 Sep 2015 11:34:40 AM UTC, comment #1:
To narrow it down, try using a different plot engine.
When you have found which engine or engines don't work, try this
Also, try using the mouse to re-size the window. Are there certain window sizes that work and others that don't?
|
Wed 02 Sep 2015 09:43:04 PM UTC, original submission:
Hi,
I am using Octave 4.0.0 on Cygwin (running on Windows 7 Enterprise). When I try plotting, the tick and axes labels will not render properly (see attachment). This appears to be the case for all text in plots. The attachment was generated using the command:
plot([0 1 2 3])
Regards. cd
|