Bug 626250

Summary: Plots "with step" for decreasing functions show no steps
Product: [Fedora] Fedora Reporter: Horst H. von Brand <vonbrand>
Component: gnuplotAssignee: Ivana Varekova <varekova>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: pertusus, varekova
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-24 02:09:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
A plot file showing the problem (the steps should be between the curves) none

Description Horst H. von Brand 2010-08-23 00:02:09 UTC
Created attachment 440276 [details]
A plot file showing the problem (the steps should be between the curves)

Description of problem:
In the attached plot I try to show how 1/x and 1/(x - 1) bound 1/floor(x), but the plot shows just one step.

Version-Release number of selected component (if applicable):
gnuplot-4.4.0-5.fc15.x86_64

How reproducible:
Some functions work, others don't.

Steps to Reproduce:
1. plot[1:10] 1/floor(x) with step
2.
3.
  
Actual results:
Just one step

Expected results:
There should be 10 steps

Additional info:

Comment 1 Horst H. von Brand 2010-08-23 01:18:41 UTC
Also present in gnuplot from CVS (as of today, identifies itself as 4.5 patchlevel 0), reported as <https://sourceforge.net/tracker/?func=detail&aid=3051121&group_id=2055&atid=102055>

Comment 2 Horst H. von Brand 2010-08-24 02:09:08 UTC
Closed upstream. 1 is an integer, dividing that by something > 1 gives (integer) zero.

Sorry for the noise. At least I learned something...