| Summary: | add missing pixel marker (as was in 1.x series) | ||
|---|---|---|---|
| Product: | [Applications] kst | Reporter: | Daniel Mader <danielstefanmader+kde> |
| Component: | plotting | Assignee: | kst |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | nicolas.brisset |
| Priority: | NOR | ||
| Version First Reported In: | 2.0.7 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | All | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Fixed in git yesterday - just forgot to link the bug report to the commit. |
In the current revisions of KST the smallest plot point marker is missing, which is necessary for highest resolution plots on a display to prevent overlapping of data points. Now, there are only larger points available, i.e. complex markers such as squares, circles, and characters, but no 'pixel' marker. This was well available in the 1.x series. With Python's matplotlib, you'd get this marker style like this. import matplotlib.pyplot as plt fig = plt.figure(figsize=(20,20)) ax1 = fig.add_subplot(111) ax1.grid() ax1.plot(range(1024), range(1024), ',') # <=== mind the comma! fig.suptitle('fig title') ax1.set_title('ax title') ax1.set_xlabel('xlabel') ax1.set_ylabel('ylabel') ax1.set_xlim(left=None, right=None) ax1.set_ylim(bottom=None, top=None) ax1.legend(loc='best', numpoints=1) fig.show() fig.savefig('test.pdf') Thank you very much in advance, and please keep up this great piece of work and software!