bugGNU Octave - Bugs: bug #41154, x-axis tick labels can overlap in...

 
 

bug #41154: x-axis tick labels can overlap in gnuplot figures

Submitted by:  None
Submitted on:  Wed 08 Jan 2014 10:15:12 PM UTC  
 
Category: Plotting with gnuplotSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Incorrect Result
Status: Wont FixAssigned to: None
Originator Name: Saul MtakulaOriginator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 31 Jul 2015 11:42:31 AM UTC, comment #5:

Closing bug with status won't fix, following suit with other similar gnuplot-specific bugs such as bug #31610 and bug #34148. The solution is to use one of the OpenGL-based plotting toolkits instead.

Mike Miller <mtmiller>
Project Administrator
Sun 31 May 2015 06:23:44 PM UTC, comment #4:

This is not really a problem with the rlocus function, it is a problem with the gnuplot plotting toolkit.

The following simpler example demonstrates the behavior, at least with gnuplot 4.6.6 on Linux:

The last axis command increases the x-axis tick resolution to increments of 1000 instead of 2000 so there are more labels and they overlap each other.

Mike Miller <mtmiller>
Project Administrator
Thu 09 Jan 2014 05:28:07 AM UTC, comment #3:

The problem is in windows and basically the x axis labels are all positioned atop one another no matter the size of the graphic (maximized or not). In linux there is no problem once the plot is maximized. Script file attached.

(file #30230)

Anonymous
Thu 09 Jan 2014 05:13:02 AM UTC, comment #2:

Could you please describe precisely what the problem is? The legends inside the plots?
Also please use verbatim to paste your script:

Lukas Reichlin <paramaniac>
Thu 09 Jan 2014 01:56:17 AM UTC, comment #1:

Adding the Octave control package maintainer to the cc list for this report.

Mike Miller <mtmiller>
Project Administrator
Wed 08 Jan 2014 10:15:12 PM UTC, original submission:

The code down below generates a root locus (control 2.4.2) with axis graduations that are not clear especially compared to results from Matlab or Scilab. The attached screenshot illustrates what I mean.

clear
clc
pkg load control
s = tf('s');
% Polynomial seed
Gain1 = (s^2+20s+100)/(s^2+6s+100);
Gain2 = Gain1(s^2+3s+220)/(s^2+25*s+225);
Gain3 =(s+5)/(ss(s-2000)(s-200)(s-25)*(s-1));
Gain4 = 352*Gain3;
%
%Bode plot:
%---------------
subplot(221)
bodemag(Gain2,Gain1,0.01,100)
% Magnitude plot
%
%Nyquist plot:
%-------------------
subplot(222)
nyquist(Gain2,Gain1)
% Plot with Re and Im axes
%Nichols chart (Black's diagram + iso-plots):
%-------------------------------------------------------------
subplot(223)
nichols(Gain2,Gain1,0.01,100)

%
%Evans root locus:
%-------------------------
subplot(224)
rlocus(Gain4) %,0100) %,100)
% Evans root locus for sys4

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #30230:  test_plot.m added by None (844B - text/x-objcsrc)
file #30227:  octave_root_locus.png added by None (193KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by paramaniac (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by mtmiller
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 31 Jul 2015 11:42:31 AM UTCmtmillerStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed
    Sun 31 May 2015 06:23:44 PM UTCmtmillerSeverity3 - Normal=>2 - Minor
      Item GroupPerformance=>Incorrect Result
      Release3.6.4=>dev
      Operating SystemMicrosoft Windows=>Any
      Summarycontrol package: rlocus function axis graduation not optimal=>x-axis tick labels can overlap in gnuplot figures
    Sun 31 May 2015 06:23:43 PM UTCmtmillerCategoryOctave Forge Package=>Plotting with gnuplot
    Thu 09 Jan 2014 05:28:07 AM UTCNoneAttached File-=>Added test_plot.m, #30230
    Thu 09 Jan 2014 01:56:17 AM UTCmtmillerSummaryRlocus function axis graduation not optimal=>control package: rlocus function axis graduation not optimal
      Carbon-Copy-=>Added paramaniac
    Wed 08 Jan 2014 10:15:12 PM UTCNoneAttached File-=>Added octave_root_locus.png, #30227

    Back to the top


    Powered by Savane 3.1-cleanup1