help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plot command crashes Octave


From: Vic Norton
Subject: Re: Plot command crashes Octave
Date: Mon, 4 Jul 2016 17:17:27 -0400

> On Jul 4, 2016, at 3:10 PM, Dmitri A. Sergatskov <address@hidden> wrote:
> 
> On Mon, Jul 4, 2016 at 2:00 PM, Vic Norton <address@hidden> wrote:
> 
> What is your point, Dmitri?
> 
> ​I was surprised by your statement that the "​dotted grid lines, which are 
> almost impossible to see 
> with the default 0.5 linewidth"
> 
> gnuplot definitely can do solid grid lines, you can put a bug/feature request 
> on 
> 
> https://savannah.gnu.org/bugs/?group=octave
> 
> Dmitri.
> -- 


Thanks for the suggestion, Dmitri. I have submitted a bug report at 
savannah.gnu.org. Here is the content of my report.

bug #48401: Gnuplot produces only “:” gridlines
  % gnuplot_gridline_problem.m
  %   octave> set(gca, "gridlinestyle")
  %   [ - | -- | -. | {:} | none ]
  %
  %   When "xgrid" or "ygrid" is on
  %   all options are available to "qt" but
  %   every option produces ":" gridlines with "gnuplot"
  graphics_toolkit("gnuplot");
  % graphics_toolkit("qt"); % uncomment for correct results
  x = 0 : 0.1 : 3.5;
  y = sin(x);
  close all;
  figure;
  plot(x, y);
  axis([0, 3.5, 0, 1.5], "equal");
  set(gca, "xgrid", "on", "ygrid", "on", ...
    "gridlinestyle", "none", ...
    "linewidth", 1, ...
    "xtick", [0 : 0.5 : 3.5], ...
    "ytick", [0 : 0.5 : 1.5] ...
  );
  printf("gridlinestyle: %s\n", get(gca, "gridlinestyle"));



Regards,

Vic




reply via email to

[Prev in Thread] Current Thread [Next in Thread]