Well, there’s the classic ENGLISH SENTENCES WITHOUT OVERT GRAMMATICAL SUBJECTS by Quang Phuc Dong of the South Hanoi Institute of Technology (pseudonym of James D. McCawley, 1967), and several others in that vein. But that’s linguists writing about swearing, not swearing per se. (There’s was quite a trend of little “who, me?” bombs in linguistic examples in the late 60s and early 70s, prominently including John called Sam a republican, and then he insulted him from George Lakoff).
OP then asks:
Why censor people’s right to swear just because it is science?
Because it’s science. Scholarly papers are meant to at least pretend that they are arriving at rational conclusions through objective consideration of arguments. Swearing is avoided in scholarly papers, for the same reasons exclamation points are. Because it makes you look like you’re not a scholar, and can’t string together a convincing argument.