Menu

#2 the labels for the axis are not correctly displayed

open
nobody
None
5
2010-05-18
2010-05-14
Anonymous
No

Win 7, for example:

Lpg=8.70*10^-15;
E_Lp=6.87*10^4;
T_ref=273.15;
RR=8.314;
TTT=[273.15👎273.15-40];
Lp=Lpg.*exp(-E_Lp/RR*(1./TTT-1/T_ref));
plot(TTT-273.15,Lp);
set(gca,'xdir','reverse');set(gca,'fontsize',18,'LineWidth',3);
xlabel('Temperature'); ylabel('Lp');
print -demf test.emf

if i use octave command mode, it works correctly, while for QOcTerm, the labels are cut out of the figure.

Discussion

  • Anonymous

    Anonymous - 2010-05-16

    As you can see in attached screenshot there is no difference between command line and QOc.
    Im unable to reproduce this artifact.
    Try to paste to editor and save your code to file and then reopen it in QOc. Maybe its a problem with character conversion. It can be happening if you copy paste formatted text for ex. from web page. Your code ive copied works fine.

     
  • Anonymous

    Anonymous - 2010-05-16

    Screenshot

     
  • Anonymous

    Anonymous - 2010-05-16
    • status: open --> open-accepted
     
  • Anonymous

    Anonymous - 2010-05-16
    • status: open-accepted --> open
     
  • cookyzhao

    cookyzhao - 2010-05-17

    Please check for the emf file being saved. I have this bug.

     
  • cookyzhao

    cookyzhao - 2010-05-17

    sorry, i forget to point it out that the bug does not belong to the figure being displayed on the monitor, instead, it belongs to the emf file being saved.

     
  • Anonymous

    Anonymous - 2010-05-18

    Well. Ive double checked this in Win / Linux and it appers to be octave or gnuplot bug.
    Try "print -dpng file.png" (or -dpdf) and copare results with emf format. Ive noticed there are axis labels display errors when using -demf option. This is not a QOc issue.
    Please send some screen shots next time.
    Check your code with newest QOcTerm - its got fixed character encoding bug.

     
  • Anonymous

    Anonymous - 2010-05-18
    • status: open --> open-works-for-me
     
  • Anonymous

    Anonymous - 2010-05-18
    • status: open-works-for-me --> open
     
  • Nobody/Anonymous

    thank you very much!
    i get it.

     

Log in to post a comment.